vault backup: 2025-02-10 09:36:30
This commit is contained in:
parent
ecb6f7aa3d
commit
89603e0de0
@ -69,26 +69,37 @@ pages: {{ pages }}
|
|||||||
>{% for r in relations %}[{{ r.title }}]({{ r.citekey }}){% if not loop.last %}, {% endif %}{% endfor %}
|
>{% for r in relations %}[{{ r.title }}]({{ r.citekey }}){% if not loop.last %}, {% endif %}{% endfor %}
|
||||||
|
|
||||||
# Annotations
|
# Annotations
|
||||||
{% for a in annotations -%}
|
{# Process non-Purple highlights #}
|
||||||
{%- if a.type == "highlight" -%}
|
{% for a in annotations %}
|
||||||
{% if a.colorCategory == "Yellow" %}
|
{% if a.type == "highlight" and a.colorCategory != "Purple" %}
|
||||||
|
{% if a.colorCategory == "Yellow" %}
|
||||||
>[!attention] Highlight
|
>[!attention] Highlight
|
||||||
{%- elif a.colorCategory == "Green" %}
|
{% elif a.colorCategory == "Green" %}
|
||||||
>[!done] Quote
|
>[!done] Quote
|
||||||
{%- elif a.colorCategory == "Purple" %}
|
{% elif a.colorCategory == "Orange" %}
|
||||||
>[!example] Secondary Source
|
|
||||||
{%- elif a.colorCategory == "Orange" %}
|
|
||||||
>[!question] Don't Understand
|
>[!question] Don't Understand
|
||||||
{%- elif a.colorCategory == "Red" %}
|
{% elif a.colorCategory == "Red" %}
|
||||||
>[!fail] Possibly Incorrect
|
>[!fail] Possibly Incorrect
|
||||||
{%- else %}
|
{% else %}
|
||||||
>[!quote] Other Highlight
|
>[!quote] Other Highlight
|
||||||
{%- endif %}
|
{% endif %}
|
||||||
> *{{ a.annotatedText }}*
|
> *{{ a.annotatedText }}*
|
||||||
> {% if a.comment %}
|
> {% if a.comment %}
|
||||||
> >[!note] Note
|
> >[!note] Note
|
||||||
> >{{ a.comment }}
|
> >{{ a.comment }}
|
||||||
{%- endif %}
|
> {% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
{# Create a separate loop for Purple highlights as tasks #}
|
||||||
|
{% for a in annotations %}
|
||||||
|
{% if a.type == "highlight" and a.colorCategory == "Purple" %}
|
||||||
|
- [ ] {{ a.annotatedText }}
|
||||||
|
{% if a.comment %}
|
||||||
|
> Note: {{ a.comment }}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
### Imported: {{ importDate | format("YYYY-MM-DD h:mm a") }}
|
### Imported: {{ importDate | format("YYYY-MM-DD h:mm a") }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user