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 %}
|
||||
|
||||
# Annotations
|
||||
{% for a in annotations -%}
|
||||
{%- if a.type == "highlight" -%}
|
||||
{% if a.colorCategory == "Yellow" %}
|
||||
{# Process non-Purple highlights #}
|
||||
{% for a in annotations %}
|
||||
{% if a.type == "highlight" and a.colorCategory != "Purple" %}
|
||||
{% if a.colorCategory == "Yellow" %}
|
||||
>[!attention] Highlight
|
||||
{%- elif a.colorCategory == "Green" %}
|
||||
{% elif a.colorCategory == "Green" %}
|
||||
>[!done] Quote
|
||||
{%- elif a.colorCategory == "Purple" %}
|
||||
>[!example] Secondary Source
|
||||
{%- elif a.colorCategory == "Orange" %}
|
||||
{% elif a.colorCategory == "Orange" %}
|
||||
>[!question] Don't Understand
|
||||
{%- elif a.colorCategory == "Red" %}
|
||||
{% elif a.colorCategory == "Red" %}
|
||||
>[!fail] Possibly Incorrect
|
||||
{%- else %}
|
||||
{% else %}
|
||||
>[!quote] Other Highlight
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
> *{{ a.annotatedText }}*
|
||||
> {% if a.comment %}
|
||||
> >[!note] Note
|
||||
> >{{ a.comment }}
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
> {% endif %}
|
||||
{% endif %}
|
||||
{% 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") }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user