Hello,
I’ve spent the better part of the day getting a template I like set up using Zotero Integration for migrating my Zotero highlights into an Obsidian note. I’m very new to this kind of coding, but I’ve got mostly everything working to my liking. However, I cannot get links to my Zotero pdfs to function properly from inside Obsidian.
I found the following snippet of code online that suggests my template should auto-generate a link to the correct page for my annotation. When I click the link, it just opens to the last state Zotero was in - It doesn’t even pull up the appropriate pdf, let alone the specific page where the annotation can be found.
([p. {{annot.pageLabel}}](zotero://open-pdf/library/items/{{annot.attachment.itemKey}}?page={{annot.pageLabel}}&annotation={{annot.id}}))
When I run the template to import from Zotero, it’ll create something like this, based on the annotations in the document:
([p. 3](zotero://open-pdf/library/items/MADWUYS8?page=3&annotation=YQR6C5XE))
Based on what I’ve found online, I’m stumped as the why the link isn’t working. Any help for fixing this would be much appreciated!