drasil-printers-0.1.10.0: A framework for code and document generation for scientific software - Printers SubPackage
Safe HaskellNone
LanguageGHC2024

Language.Drasil.HTML.Render

Synopsis

Documentation

genHTML :: HTMLGenOptions -> String -> Document -> HTML Source #

Generate an HTML document from a Drasil Document. Arguments: Rendering options, CSS file name, Document to be rendered

newtype HTMLGenOptions Source #

Options for converting layout objects (LayoutObjs) into HTML AST

Constructors

HTMLGO 

Fields

defaultHTMLGO :: HTMLGenOptions Source #

Default HTMLGenOptions using the standard MathJax CDN URL.

renderHTML :: HTMLRenderOptions -> HTML -> Doc ann #

Render HTML to a Doc