pandoc-3.1.13: Conversion between markup formats

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 | None
Language | Haskell2010

Text.Pandoc.Writers.CslJson

Description

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 #