PKM-er / obsidian-zotlit

A third-party project that aims to facilitate the integration between Obsidian.md and Zotero, by providing a set of community plugins for both Obsidian and Zotero.
https://zotlit.aidenlx.top
MIT License
589 stars 25 forks source link

Is there any way I can call tags from zotero item Details:note in a single annot template? #264

Open NiAnyIGJQ opened 8 months ago

NiAnyIGJQ commented 8 months ago

I want to add my zotero #tags attribute to each annot, but #tag only exists in zotero item details: note and in zotero item details: annotation it doesn't exist , so <%It.tags.filter(t => t.ype === 0)%> doesn't work.

Does anyone know how to write the template in this case ?

woodae99 commented 2 months ago

I've been trying to get the same thing to work and have had no success. There is a work-around though which is to put your #tag in the annotation body. It's not ideal if you're running all your standard tags in Zotero, but it does import into Obsidian

woodae99 commented 2 months ago

Actually, there is a solution here: https://forum.obsidian.md/t/zotlit-previously-obsidian-zotero-import-templates/56901/3