# Zotero best practices

**URL:** <https://forum.obsidian.md/t/zotero-best-practices/164>\
**Category:** Knowledge management\
**Created:** [May 21, 2020, 5:52am UTC](https://forum.obsidian.md/t/zotero-best-practices/164 "2020-05-21T05:52:08Z")\
**Posts on this page:** 1\
**Showing post:** 170

<div class="post-metadata">

**Author:** ![tomhaley](https://forum.obsidian.md/user_avatar/forum.obsidian.md/tomhaley/32/11115_2.png) [@tomhaley](https://forum.obsidian.md/u/tomhaley)\
**Post date:** [September 7, 2021, 1:47am UTC](https://forum.obsidian.md/t/zotero-best-practices/164/170 "2021-09-07T01:47:01Z")

</div>

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](https://forum.obsidian.md/t/zotero-zotfile-mdnotes-obsidian-dataview-workflow/15536). 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>`

---

_[View the full topic](https://forum.obsidian.md/t/zotero-best-practices/164)._
