Skip to content

Instantly share code, notes, and snippets.

View BunnyNoBugs's full-sized avatar

Evgeny Orlov BunnyNoBugs

View GitHub Profile
@BunnyNoBugs
BunnyNoBugs / zotero_import_template.md
Created January 22, 2025 12:59
BunnyNoBugs' Obsidian Zotero import template

type: {% if itemType == "book" %} - book{% else %} - paper{% endif %} title: "{% if creators -%}{{creators[0].lastName}} {%- if creators|length == 2 %} & {{creators[1].lastName}}{% endif -%} {%- if creators|length > 2 %} et al.{% endif -%} {%- endif -%} {%- if date %} ({{date | format("YYYY")}}){% endif -%} {%- if shortTitle %} {{shortTitle | nl2br}} {%- else %} {{title | nl2br}}