pandoc-2.14.2: Conversion between markup formats
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Citeproc

Synopsis

Documentation

getReferences :: PandocMonad m => Maybe Locale -> Pandoc -> m [Reference Inlines] Source #

Get references defined inline in the metadata and via an external bibliography. Only references that are actually cited in the document (either with a genuine citation or with nocite) are returned. URL variables are converted to links.

getStyle :: PandocMonad m => Pandoc -> m (Style Inlines) Source #

Retrieve the CSL style specified by the csl or citation-style metadata field in a pandoc document, or the default CSL style if none is specified. Retrieve the parent style if the style is a dependent style. Add abbreviations defined in an abbreviation file if one has been specified.