Zotero highlight color to H2 in Obsidian

I’ve recently started using Zotero and Obsidian and therefore I’m still very new to CSS and templates. I’ve tried looking at different templates for customising and importing annotations but I’m not sure how to edit the code to fit my need.

What I want to achieve is the following:

  • yellow highlight in Zotero imports text as plain text in Obsidian
  • red highlight in Zotero imports text as heading 2
  • green highlight in Zotero imports text as [!tip] in Obsidian

I’ve tried using Danny Hatcher template code and tweek it but it doesn’t seem to work and I don’t seem to be able find an answer on this forum or on Reddit.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.