Create Note from Annotation with Tags

Hi, is it possible to create a Note from Annotations and include the Annotation Tags (so that when I export the Note, the Tags are exported too)?
  • dstillman Zotero Team
    Yes, you can do this by adjusting your note template. There's an example there for including tags.
  • Brilliant, thank you.
  • @jg675 if you get the tags syntax to work, please post your syntax here. I haven't had any luck.
  • dstillman Zotero Team
    edited 9 minutes ago
    It's shown in an example on that page.

    In the Config Editor, change extensions.zotero.annotations.noteTemplates.highlight from the default of

    <p>{{highlight}} {{citation}} {{comment}}</p>

    to

    <p>{{highlight}} {{citation}} {{comment}}{{if tags}} #{{tags join=' #'}}{{endif}}</p>
  • dstillman Zotero Team
    Sorry, the recent docs migration added some extra colons. Page is updating now, but see my example above for the correct syntax.
  • edited 2 minutes ago
    @dstillman when I use that syntax I get nothing added to the Item note. If I remove all the ":" it works.
    Edit: OK I see that is now fixed.

    My other problem was that I was putting it in extensions.zotero.annotations.noteTemplates.note not extensions.zotero.annotations.noteTemplates.highlight

    I now find that extensions.zotero.annotations.noteTemplates.note is for sticky notes.

    The documentation could be clearer. Since adding tags to annotations is a common request it would help if there was a specific example for that case (especially since the only tag syntax in the current examples has the ":" that didn't work for me ... EDIT : I see now fixed.).
  • dstillman Zotero Team
    edited 3 minutes ago
    @tim820: Yes, as I said above, the colons were added to the page in error. They're already gone.
Sign In or Register to comment.