initiale Übernahme
This commit is contained in:
8
.obsidian/plugins/obsidian-citation-plugin/data.json
vendored
Normal file
8
.obsidian/plugins/obsidian-citation-plugin/data.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"citationExportFormat": "csl-json",
|
||||
"literatureNoteTitleTemplate": "@{{citekey}}_@{{title}}",
|
||||
"literatureNoteFolder": "",
|
||||
"literatureNoteContentTemplate": "---\ntitle: {{title}}\nauthors: {{authorString}}\nyear: {{year}}\nZotero: {{zoteroSelectURI}}\n---\n\n\n> [!Cite]\n> {{bibliography}}\n\n>[!Synth]\n>**Contribution**:: \n>\n>**Related**:: {% for relation in relations | selectattr(\"citekey\") %} [[@{{relation.citekey}}]]{% if not loop.last %}, {% endif%} {% endfor %}\n>\n\n>[!md]\n{% for type, creators in creators | groupby(\"creatorType\") -%}\n{%- for creator in creators -%}\n> **{{\"First\" if loop.first}}{{type | capitalize}}**::\n{%- if creator.name %} {{creator.name}} \n{%- else %} {{creator.lastName}}, {{creator.firstName}} \n{%- endif %} \n{% endfor %}~ \n{%- endfor %} \n> **Title**:: {{title}} \n> **Year**:: {{date | format(\"YYYY\")}} \n> **Citekey**:: {{citekey}} {%- if itemType %} \n> **itemType**:: {{itemType}}{%- endif %}{%- if itemType == \"journalArticle\" %} \n> **Journal**:: *{{publicationTitle}}* {%- endif %}{%- if volume %} \n> **Volume**:: {{volume}} {%- endif %}{%- if issue %} \n> **Issue**:: {{issue}} {%- endif %}{%- if itemType == \"bookSection\" %} \n> **Book**:: {{publicationTitle}} {%- endif %}{%- if publisher %} \n> **Publisher**:: {{publisher}} {%- endif %}{%- if place %} \n> **Location**:: {{place}} {%- endif %}{%- if pages %} \n> **Pages**:: {{pages}} {%- endif %}{%- if DOI %} \n> **DOI**:: {{DOI}} {%- endif %}{%- if ISBN %} \n> **ISBN**:: {{ISBN}} {%- endif %} \n\n> [!LINK] \n> {%- for attachment in attachments | filterby(\"path\", \"endswith\", \".pdf\") %}\n> [{{attachment.title}}](file://{{attachment.path | replace(\" \", \"%20\")}}) {%- endfor -%}.\n\n> [!Abstract]\n> {%- if abstractNote %}\n> {{abstractNote}}\n> {%- endif -%}.\n> \n# Notes\n> {%- if markdownNotes %}\n>{{markdownNotes}}{%- endif -%}.\n\n# Annotations\n{%- macro calloutHeader(type, color) -%} \n{%- if type == \"highlight\" -%} \n<mark style=\"background-color: {{color}}\">Quote</mark> \n{%- endif -%}\n\n{%- if type == \"text\" -%} \nNote \n{%- endif -%} \n{%- endmacro -%}\n\n{% persist \"annotations\" %}\n{% set newAnnotations = annotations | filterby(\"date\", \"dateafter\", lastImportDate) %}\n{% if newAnnotations.length > 0 %}\n\n### Imported: {{importDate | format(\"YYYY-MM-DD h:mm a\")}}\n\n\n{% for a in newAnnotations %}\n{{calloutHeader(a.type, a.color)}}\n> {{a.annotatedText}}\n{% endfor %}\n{% endif %}\n{% endpersist %}\n\n",
|
||||
"markdownCitationTemplate": "[@{{citekey}}]",
|
||||
"alternativeMarkdownCitationTemplate": "@{{citekey}}"
|
||||
}
|
||||
85889
.obsidian/plugins/obsidian-citation-plugin/main.js
vendored
Normal file
85889
.obsidian/plugins/obsidian-citation-plugin/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-citation-plugin/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-citation-plugin/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "obsidian-citation-plugin",
|
||||
"name": "Citations",
|
||||
"version": "0.4.5",
|
||||
"minAppVersion": "0.9.20",
|
||||
"description": "Automatically search and insert citations from a Zotero library",
|
||||
"author": "Jon Gauthier",
|
||||
"authorUrl": "http://foldl.me",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
114
.obsidian/plugins/obsidian-citation-plugin/styles.css
vendored
Normal file
114
.obsidian/plugins/obsidian-citation-plugin/styles.css
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
/** Citations modal **/
|
||||
|
||||
/*
|
||||
* Loading animation from
|
||||
* https://loading.io/css/
|
||||
*/
|
||||
.zoteroModalLoading {
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
.zoteroModalLoadingAnimation {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
.zoteroModalLoadingAnimation {
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 10px auto;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #eee;
|
||||
border-color: #eee transparent #eee transparent;
|
||||
animation: lds-dual-ring 1.2s linear infinite;
|
||||
}
|
||||
@keyframes lds-dual-ring {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#zoteroSettingTab .text-monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.zoteroModalResults .suggestion-item {
|
||||
height: fit-content;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.zoteroTitle {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
}
|
||||
.zoteroAuthors {
|
||||
color: #555;
|
||||
font-size: 13px;
|
||||
}
|
||||
.zoteroAuthorsEmpty::after {
|
||||
font-style: italic;
|
||||
content: 'Unknown authors';
|
||||
}
|
||||
.zoteroCitekey {
|
||||
color: #555;
|
||||
font-size: 13px;
|
||||
font-family: monospace;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
padding-right: 5px;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.theme-dark .zoteroTitle {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
}
|
||||
.theme-dark .zoteroAuthors {
|
||||
color: #aaa;
|
||||
font-size: 13px;
|
||||
}
|
||||
.theme-dark .zoteroCitekey {
|
||||
color: #aaa;
|
||||
font-size: 13px;
|
||||
font-family: monospace;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
padding-right: 5px;
|
||||
border-right: 1px solid #aaa;
|
||||
}
|
||||
|
||||
/** Settings dialog **/
|
||||
.d-none {
|
||||
display: none;
|
||||
}
|
||||
.zoteroSettingCitationPathLoading,
|
||||
.zoteroSettingCitationPathError,
|
||||
.zoteroSettingCitationPathSuccess {
|
||||
font-size: 14px;
|
||||
}
|
||||
.zoteroSettingCitationPathLoading {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.zoteroSettingCitationPathError {
|
||||
color: var(--text-error);
|
||||
}
|
||||
.zoteroSettingCitationPathError:hover {
|
||||
color: var(--text-error-hover);
|
||||
}
|
||||
.zoteroSettingCitationPathSuccess {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
.zoteroSettingCitationPathSuccess:hover {
|
||||
color: var(--text-accent-hover);
|
||||
}
|
||||
|
||||
#zoteroSettingTab textarea {
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
min-height: 10em;
|
||||
}
|
||||
Reference in New Issue
Block a user