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

Copyright(c) Andrea Rossato
LicenseBSD-style (see LICENSE)
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

Text.CSL.Output.Pandoc

Description

The pandoc output formatter for CSL

Synopsis

Documentation

renderPandoc :: Style -> [FormattedOutput] -> [Inline] Source

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

renderPandoc' :: Style -> [FormattedOutput] -> Block Source

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

renderPandoc_ :: Style -> [FormattedOutput] -> [Inline] Source

For the testsuite: we use Link and Strikeout to store "nocase" and "nodecor" rich text formatting classes.