Created
May 3, 2025 20:24
-
-
Save joeydumont/048ef76487b6e9a2b83380c896a0095e to your computer and use it in GitHub Desktop.
Literature note template for Zotero+Obsidian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: '{{title | replace("'", "\"")}}' | |
year: {{date | format("YYYY")}} | |
citekey: "@{{citekey}}" | |
{% if itemType -%} | |
itemType: {{itemType}} | |
{% endif -%} | |
{% if itemType == "journalArticle" -%} | |
journal: {{publicationTitle}} | |
{% endif -%} | |
{% if itemType == "podcast" -%} | |
podcastSeries: "{{seriesTitle | lower}}" | |
{% endif -%} | |
{% if volume -%} | |
volume: {{volume}} | |
{% endif -%} | |
{% if issue -%} | |
issue: {{issue}} | |
{% endif -%} | |
{% if itemType == "bookSection" -%} | |
book: {{bookTitle}} | |
{% endif -%} | |
{% if publisher -%} | |
publisher: {{publisher}} | |
{% endif -%} | |
{% if place -%} | |
location: {{place}} | |
{% endif -%} | |
{% if pages -%} | |
pages**: {{pages}} | |
{% endif -%} | |
{% if DOI -%} | |
doi: {{DOI}} | |
{% endif -%} | |
{% if ISBN -%} | |
isbn: {{ISBN}} | |
{% endif -%} | |
aliases: | |
- "{{citekey}}" | |
- '{{title | replace("'", "\"")}}' | |
dates_edited: [] | |
{% if collections -%} | |
collection: | |
{% for collection in collections | filterby("fullPath", "startswith", "Daily") -%} | |
- {{collection.fullPath}} | |
{% endfor -%} | |
{% endif -%} | |
--- | |
## [{{title}}]({{desktopURI}}) | |
{% if hashTags -%} | |
{{hashTags | replace(",", " ")}} | |
{% endif %} | |
### Attachments | |
{% if attachments %} | |
{% for attachment in attachments | filterby("path", "endswith", ".pdf") -%} | |
- [{{attachment.title}}]({{attachment.desktopURI}}) | |
{% endfor -%} | |
{%- endif %} | |
## Reference | |
{{-bibliography.slice(2,-1)}} | |
## Collections | |
{%- for collection in collections %} | |
- [{{collection.fullPath}}](zotero://select/library/collections/{{collection.key}}) | |
{%- endfor %} | |
## Notes | |
{% for note in notes -%} | |
### [Note {{loop.index}}]({{note.desktopURI}}) | |
{{note.note}} | |
{%- endfor %} | |
## Abstract | |
{{abstractNote}} | |
## Related notes | |
{% for relation in relations -%} | |
- [{{relation.title}}]({{relation.itemKey}}) | |
{%- endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment