Zotero best practices

That’s done in the field extensions.zotfile.pdfExtraction.formatAnnotationHighlight, which defines how Zotfile outputs highlighted text when extracting highlights. In particular, you need to use the %(color_category) variable wherever you want your category name to show up. There’s some good examples in this workflow. As another example, I’ve set up the Admonitions plugin with custom admonitions for different highlight types, and then use this in the formatAnnotationHighlight field to produce admonition blocks matching what I’ve set up in the plugin:
<p>```ad-%(color_category)<br />title:&nbsp;<br />%(content) (%(cite))<br />```</p>

3 Likes