mystmd
mystmd copied to clipboard
Citation Node Improvements
trafficstars
There are a few improvements that I would like to improve regarding citations:
- make them part of the
roottree, included in a single back-matter element (for easy access and not searching the whole tree). These would beCitationDefinitionnodes (similar to footnotes). - Remove the
Referencesobject, and chase that through the exports code (should simplify things with a few utilities). - Move from raw HTML as the citation to mdast (right now this is a security hole).
- Change the new
ArticleProviderin the theme, to actually just take the article. - Write the upgrade/downgrade scripts.
This would also likely solve some of the problems around citations in parts not being rendered. I was prompted on this issue thinking about data citations (which are reported differently in an academic context), and trying to add more information about the citation source (e.g. zenodo vs datacite).