Copyright | (c) Adam Conner-Sax 2019 |
---|---|
License | BSD-3-Clause |
Maintainer | adam_conner_sax@yahoo.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Functions to produce Html output for a Pandoc report.
Synopsis
- htmlWriterOptions :: WriterOptions
- toBlazeDocument :: PandocEffects effs => PandocWriterConfig -> PandocWithRequirements -> Semantic effs Html
- pandocWriterToBlazeDocument :: PandocEffects effs => PandocWriterConfig -> Semantic (ToPandoc ': effs) () -> Semantic effs Html
- mindocOptionsF :: WriterOptions -> WriterOptions
- markDownTextToBlazeFragment :: PandocEffects effs => Text -> Semantic effs Html
Default Options
htmlWriterOptions :: WriterOptions Source #
Base Html writer options, with support for MathJax
Formatted output
:: PandocEffects effs | |
=> PandocWriterConfig | |
-> PandocWithRequirements | Document and union of input requirements |
-> Semantic effs Html |
Convert given Pandoc to Blaze Html. Incudes support for template and template variables and changes to the default writer options
pandocWriterToBlazeDocument Source #
:: PandocEffects effs | |
=> PandocWriterConfig | Configuration info for the Pandoc writer |
-> Semantic (ToPandoc ': effs) () | Effects stack to run to get Pandoc |
-> Semantic effs Html | Blaze Html (in remaining effects) |
Convert current Pandoc document (from the ToPandoc effect) into a Blaze Html document. Incudes support for template and template variables and changes to the default writer options.
Options helper
mindocOptionsF :: WriterOptions -> WriterOptions Source #
options for the mindoc template
Other helpers
markDownTextToBlazeFragment Source #
:: PandocEffects effs | |
=> Text | markDown Text |
-> Semantic effs Html |
Convert markDown to Blaze