Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding %(itemkey) to be able to add the key of the parent item. #479

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bjohas
Copy link
Contributor

@bjohas bjohas commented Jul 23, 2020

I'd previously added %(group) and %(key), which are both for the attachment (i.e., the group/key for the attachment, rather than the parent). (See #384)

%(itemkey) now adds the key for the parent.

This makes it possible to create extracts of and include the reference to the parent, rather than the file
zotero://select/groups/2129771/items/3I3WZ9D9

Thanks!

bjohas and others added 5 commits December 17, 2018 19:12
Added %(group) and %(key) ('group': groupID, 'key': att.key) so that these can be utilised in the markup string, see https://forums.zotero.org/discussion/74966/zotfile-extracting-more-features-of-annotations
Added 
'color_hex': color_hex, 'color_category_name': color_category
which enables the output of the colour as hex (rather than rgb) and the category_name, both of which are more easily readable for me compared to rgb and the category as hex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants