citeproc-hs-0.3.2: A Citation Style Language implementation in HaskellSource codeContentsIndex
Text.CSL.Output.Pandoc
Portabilityunportable
Stabilityunstable
MaintainerAndrea Rossato <andrea.rossato@unitn.it>
Description
The pandoc output formatter for CSL
Synopsis
renderPandoc :: Style -> [FormattedOutput] -> [Inline]
renderPandoc' :: Style -> [FormattedOutput] -> Block
renderPandoc_ :: Style -> [FormattedOutput] -> [Inline]
headInline :: [Inline] -> String
initInline :: [Inline] -> [Inline]
tailFirstInlineStr :: [Inline] -> [Inline]
toCapital :: [Inline] -> [Inline]
startWithPunct :: [Inline] -> Bool
endWithPunct :: [Inline] -> Bool
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] -> BlockSource
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.
headInline :: [Inline] -> StringSource
initInline :: [Inline] -> [Inline]Source
tailFirstInlineStr :: [Inline] -> [Inline]Source
toCapital :: [Inline] -> [Inline]Source
startWithPunct :: [Inline] -> BoolSource
endWithPunct :: [Inline] -> BoolSource
Produced by Haddock version 2.6.1