Copyright | Copyright (C) 2020-2023 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 |
Parses CSL JSON bibliographies into a Pandoc document
with empty body and references
and nocite
fields
in the metadata. A wildcard nocite
is used so that
if the document is rendered in another format, the
entire bibliography will be printed.
https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html.
Synopsis
- readCslJson :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc
Documentation
readCslJson :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc Source #
Read CSL JSON from an input string and return a Pandoc document.
The document will have only metadata, with an empty body.
The metadata will contain a references
field with the
bibliography entries, and a nocite
field with the wildcard `[@*]`.