knit-haskell-0.1.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.Other.Blaze

Contents

Description

Functions to support some simple reports using only Blaze.

Using the Pandoc framework instead is recommended.

Synopsis

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

placeVisualization :: Text -> VegaLite -> Html Source #

Add an hvega visualization with the given id

placeTextSection :: Html -> Html Source #

Add the given Html as a new section

latexToHtml :: Text -> Html Source #

Convert Latex to Blaze Html