pandoc-citeproc-0.14.5: Supports using pandoc with citeproc

Safe HaskellNone
LanguageHaskell2010

Text.CSL.Pandoc

Synopsis

Documentation

processCites :: Style -> [Reference] -> Pandoc -> Pandoc Source #

Process a Pandoc document by adding citations formatted according to a CSL style. Add a bibliography (if one is called for) at the end of the document.

processCites' :: Pandoc -> IO Pandoc Source #

Process a Pandoc document by adding citations formatted according to a CSL style. The style filename is derived from the csl field of the metadata, and the references are taken from the references field or read from a file in the bibliography field.