Skip to content

Is it possible to change the note template based on condition? #472

Answered by bdarcus
onnyyonn asked this question in Q&A
Discussion options

You must be logged in to vote

Can't you just do ${doi url}? That should only print the first one found, or none.

If not (for example, you want to prepend "doi:" if using the doi), then you're only alternative it to write your own format-note function, based on the default one.

Or see #439 if you have thoughts on that effort.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@onnyyonn
Comment options

Answer selected by onnyyonn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants