| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Language.Drasil.HTML.Render
Synopsis
- genHTML :: HTMLGenOptions -> String -> Document -> HTML
- newtype HTMLGenOptions = HTMLGO {
- mathJaxSrc :: Text
- defaultHTMLGO :: HTMLGenOptions
- renderHTML :: HTMLRenderOptions -> HTML -> Doc ann
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