Failed to implement a different citekey generator based on language type via ternaries. #3132
Unanswered
YanMing-lxb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
goal:
My code:
language(zh) ? (auth(n=5,m=1).capitalize + '_' + year) : (authAuthEa(sep='_' ).capitalize + '_' + year )
or
language.match(/^zh/) ? (auth(n=5,m=1).capitalize + '_' + year) : (authAuthEa(sep='_' ).capitalize + '_' + year )
Cannot correctly recognize zh tags or zh-CN tags from lauguage fields
Beta Was this translation helpful? Give feedback.
All reactions