Files
Notizen/.obsidian/plugins/obsidian-citation-plugin/data.json
2026-06-03 13:56:26 +02:00

8 lines
2.6 KiB
JSON

{
"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}}"
}