What I’m trying to do
I am trying to import highlighted annotations from Zotero. I firstly highlight on my remarkable, then re-highlight on Zotero (as Zotero/Obsidian don’t recognize the highlights - Zotero shows them but you can’t comment - besides the point but maybe relevant)
When I go to import the annotations into Obsidian from Zotero, annotations are not pulling through. I think I have isolated this down to Emerald journals/pdfs specifically, all others seem to be fine with the process I am using. I am getting round it by directly pulling the highlighted quotes over manually, but this is a bit annoying.
I am using PDF utility which is up to date. The code I am using is below. I am not a coder and nicked this from somewhere!
The abstract and reference is pulling in ok, though this is content from Zotero rather than from the pdf
Things I have tried
I’ve searched the zotero and obsidian forums but can’t find anyone else with the issue
Title: {{title}}
Authors: {{authors}}
Publication: {{publicationTitle}}
Zotero:{{uri}}
Link: {{url}}
DOI: {{DOI}}
Imported: {{importDate | format(“YYYY-MM-DD”)}}
Tags: {{hashTags}}
[!NOTE]+ Abstract
{{abstractNote}}
Notes:
{{markdownNotes}}
Annotations:
{% for annotation in annotations -%}
{%- if annotation.annotatedText -%}
"{{annotation.annotatedText}}”
{% if annotation.color %} {{annotation.colorCategory}} {{annotation.type | capitalize}} {% else %} {{annotation.type | capitalize}}
{% endif %}Page {{annotation.page}}
{%- endif %}
{%- if annotation.imageRelativePath -%}
![[{{annotation.imageRelativePath}}]] {%- endif %}
{% if annotation.comment %} {{annotation.comment}}
{% endif %} {% if annotation.hashTags %} {{annotation.hashTags}}
{% endif %}
{% endfor -%}