(2/2)
{{heading(color)}}
{% for annotation in annotations -%}
{%- if annotation.imageRelativePath %}[!cite]+ Image (p. {{annotation.pageLabel}})
![[{{annotation.imageRelativePath}}]]{% if annotation.hashTags %}
{{annotation.hashTags}}{% endif %}{%- if (annotation.comment or ).indexOf("todo ") !== -1 %}
- {{annotation.comment | replace("todo ", “”)}}{% else %}
{{annotation.comment}}{%- endif -%}{% elif (annotation.comment or ).indexOf("todo ") !== -1 %}
- {{annotation.comment | replace("todo ", “”)}}:{% if not annotation.annotatedText %} (p. {{annotation.pageLabel}}){% else %}
- {{calloutCharacter(annotation.color)}} {{annotation.annotatedText | nl2br}} (p. {{annotation.pageLabel}}) {% if annotation.hashTags %}{{annotation.hashTags}}{% endif -%}{% endif -%}
{% elif annotation.comment %}- {{annotation.comment}}:{% if not annotation.annotatedText %} (p. {{annotation.pageLabel}}){% else %}
- {{calloutCharacter(annotation.color)}} {{annotation.annotatedText | nl2br}} (p. {{annotation.pageLabel}}) {% if annotation.hashTags %}{{annotation.hashTags}}{% endif -%}{% endif %}
{%- elif annotation.annotatedText %}- {{calloutCharacter(annotation.color)}} {{annotation.annotatedText | nl2br}} (p. {{annotation.pageLabel}})](zotero://open-pdf/library/items/{{annotation.attachment.itemKey}}?page={{annotation.pageLabel}}&annotation={{annotation.id}}) {% if annotation.hashTags %}{{annotation.hashTags}}{% endif %}
%had to break this last link to post%
{%- endif -%}{%- endfor %}{% endfor -%}
{% endif %}
{% endpersist %}