Files
obsidian_sycn/模板/zotero/import.md
T
2026-07-31 15:28:08 +08:00

56 lines
2.4 KiB
Markdown

---
title: {{title}}
date: {{importDate | format("YYYY-MM-DD HH:mm:ss")}}
categories:
tags:{% for tag in tags %}
- {{tag.tag}}{% endfor %}
---
### Matedata
#zotero
##### Item Type::
[[{{itemType}}]]
##### Authors::
{{authors}}
{%if date %}##### Year::
[[{{date | format("YYYY")}}]]-{{date | format("MM")}}{% endif %}
{%if conferenceName %}##### Conference Name
[[{{conferenceName}}]]{% else %}{% if publicationTitle %}##### Publication Title
[[{{publicationTitle}}]]{% endif %}{% endif %}
{%if DOI %}##### DOI::
[{{DOI}}](https://doi.org/{{DOI}}){% endif %}
{%if pdfLink %}##### PDF Attachment::
{{pdfLink}}{% endif %}
##### Zotero Link
- [Local]({{select}})
- [Cloud]({{uri}})
# {{title}}({%if date %}{{date | format("YYYY")}}{% endif %})
>[DOI] [{{DOI}}](https://doi.org/{{DOI}})
## Abstract
{{abstractNote}}
## 摘要
## 正文
{% for annotation in annotations %}{% if annotation.type == "highlight" %}{% if annotation.colorCategory %}{% if annotation.colorCategory == "Orange" %}
```ad-main_idea
{{annotation.annotatedText}}({% if pdfLink %}{% if citeKey %}[{{citeKey}}]{% elif citationKey %}[{{citationKey}}]{% else %}[Link]{% endif %}{% if annotation.attachment.desktopURI and annotation.page %}({{annotation.attachment.desktopURI | replace("select", "open-pdf")}}?page={{annotation.page}}){% else %}{{pdfLink | replace(r/^\[.*\]/, "")}}{% endif %}{% endif %})
```
{% elif annotation.colorCategory == "Yellow" %}
```ad-detail
{{annotation.annotatedText}}({% if pdfLink %}{% if citeKey %}[{{citeKey}}]{% elif citationKey %}[{{citationKey}}]{% else %}[Link]{% endif %}{% if annotation.attachment.desktopURI and annotation.page %}({{annotation.attachment.desktopURI | replace("select", "open-pdf")}}?page={{annotation.page}}){% else %}{{pdfLink | replace(r/^\[.*\]/, "")}}{% endif %}{% endif %})
```
{% elif annotation.colorCategory == "Red" %}
```ad-todo
- [ ] {{annotation.annotatedText}}({% if pdfLink %}{% if citeKey %}[{{citeKey}}]{% elif citationKey %}[{{citationKey}}]{% else %}[Link]{% endif %}{% if annotation.attachment.desktopURI and annotation.page %}({{annotation.attachment.desktopURI | replace("select", "open-pdf")}}?page={{annotation.page}}){% else %}{{pdfLink | replace(r/^\[.*\]/, "")}}{% endif %}{% endif %})
```
{% endif %}{% endif %}{% if annotation.comment %}{{annotation.comment}}{% endif %}{% endif %}{% endfor %}