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.Lucid

Contents

Description

Functions to support some simple reports using Lucid. Particularly to support adding latex and hvega charts.

Synopsis

Setup, headers, scripts, etc.

makeReportHtml :: Text -> Html a -> Html a Source #

  • - | wrap given html in appropriate headers for the hvega and latex functions to work

add specific report bits

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 Lucid Html

helpers

latex_ :: Text -> Html () Source #

Convert Latex to Lucid Html