-
Notifications
You must be signed in to change notification settings - Fork 31
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
CSL and multiple styles #21
Comments
Implementing CSL (from JSON, which is a nice idea) would be very powerful, but I’m not sure if it's even possible given the declarative It may be possible, but it would be extremely verbose to implement and would imply re-writing a CSL implementation in Go/HTML syntax, almost certainly a no-go. |
Is there a possibility of getting a config option or switch of some sort so that |
Actually I see that there already is a way to declare one citation style over another in the |
If I wanted to contribute another style how would this project enable a site designer to pick between the styles?
CSL is in XML. Hugo has no capacity to read XML. Have you thought about any possibilities of converting the CSL.xml files to say something like CSV or JSON so they can be used in hugo? I'm brain storming and trying to figure out how this might work.
I used: https://www.convertjson.com/xml-to-json.htm to convert the APA csl.xml file to json from XML https://www.zotero.org/styles/apa-5th-edition
this would essentially make all the CSL variables "available" in JOSN, then we would just need to process these into Hugo or a defined html?
The text was updated successfully, but these errors were encountered: