knit-haskell-0.6.0.1: 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.Input.Visualization.Hvega

Contents

Description

Functions to add hvega charts (using Blaze Html) to the current Pandoc document.

Synopsis

Add hvega Inputs

addHvega Source #

Arguments

:: (PandocEffects effs, Member ToPandoc effs, Member UnusedId effs) 
=> Maybe Text

figure id, will get next unused with prefix "figure" if Nothing

-> Maybe Text

figure caption, none if Nothing

-> VegaLite 
-> Sem effs Text 

Add hvega (via html). Requires html since vega-lite renders using javascript.