knit-haskell-0.3.0.0: a minimal Rmarkdown sort-of-thing for haskell, by way of Pandoc

Copyright(c) Adam Conner-Sax 2019
LicenseBSD-3-Clause
Maintaineradam_conner_sax@yahoo.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Knit.Report.Output.Html

Contents

Description

Functions to produce Html output for a Pandoc report.

Synopsis

Default Options

htmlWriterOptions :: WriterOptions Source #

Base Html writer options, with support for MathJax

Formatted output

toBlazeDocument Source #

Arguments

:: PandocEffects effs 
=> PandocWriterConfig 
-> PandocWithRequirements

Document and union of input requirements

-> Sem effs Html 

Convert given Pandoc to Blaze Html. Incudes support for template and template variables and changes to the default writer options

pandocWriterToBlazeDocument Source #

Arguments

:: PandocEffects effs 
=> PandocWriterConfig

Configuration info for the Pandoc writer

-> Sem (ToPandoc ': effs) ()

Effects stack to run to get Pandoc

-> Sem 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 #

Arguments

:: PandocEffects effs 
=> Text

markDown Text

-> Sem effs Html 

Convert markDown to Blaze