citeproc-hs-0.2: A Citation Style Language implementation in Haskell

Portabilityunportable
Stabilityunstable
MaintainerAndrea Rossato <andrea.rossato@unitn.it>

Text.CSL.Output.Pandoc

Description

The pandoc output formatter for CSL

Synopsis

Documentation

renderPandoc :: Style -> [FormattedOutput] -> StringSource

With a Style and the formatted output generate a String in the native Pandoc formats (i.e. immediately readable by pandoc).

renderPandocStrict :: [FormattedOutput] -> StringSource

Same as renderPandoc, but will not clean up the produced output.

renderPandoc' :: Style -> [FormattedOutput] -> StringSource

Same as renderPandoc, but the output is wrapped in a pandoc paragraph block.

data Pandoc Source

Constructors

Pandoc Meta [Block] 

data Meta Source

Constructors

Meta [Inline] [String] String 

Instances