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 support some simple reports using only Blaze.
Using the Pandoc framework instead is recommended.
Synopsis
- makeReportHtml :: Text -> Html -> Html
- placeVisualization :: Text -> VegaLite -> Html
- placeTextSection :: Html -> Html
- latexToHtml :: Text -> Html
- latex_ :: Text -> Html
Add relevant headers, scripts
makeReportHtml :: Text -> Html -> Html Source #
Wrap given html in appropriate headers for the hvega and latex functions to work
add report pieces
placeTextSection :: Html -> Html Source #
Add the given Html as a new section
latexToHtml :: Text -> Html Source #
Convert Latex to Blaze Html