Copyright | (c) Adam Conner-Sax 2019 |
---|---|
License | BSD-3-Clause |
Maintainer | adam_conner_sax@yahoo.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Knit.Report.Input.Visualization.Hvega
Contents
Description
Functions to add hvega charts (using Blaze Html) to the current Pandoc document.
Add hvega Inputs
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.