Copyright | Copyright (C) 2020-2024 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Conversion of references from Pandoc
metadata to CSL JSON:
https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html.
Note that this writer ignores everything in the body of the
document and everything in the metadata except references
.
It assumes that the references
field is a list with the structure
of a CSL JSON bibliography.
Documentation
writeCslJson :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #