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 add table fragments, using Colonnade, to the current Pandoc.
Notes:
- The way these tables render will depend entirely on how styling is set in the pandoc template. For Html, this will be determined by css in the template. Styling put in here does not make it through to Html output. If you need specific styling, you can use the same colonnade functions these do and embed raw html. Somehow.
Synopsis
- addColonnadeTextTable :: (PandocEffects effs, Member ToPandoc effs, Foldable f) => Colonnade Headed a Text -> f a -> Semantic effs ()
- addColonnadeHtmlTable :: (PandocEffects effs, Member ToPandoc effs, Foldable f) => Attribute -> Colonnade Headed a Html -> f a -> Semantic effs ()
- addColonnadeCellTable :: (PandocEffects effs, Member ToPandoc effs, Foldable f) => Attribute -> Colonnade Headed a Cell -> f a -> Semantic effs ()
Add Colonnade table fragments
addColonnadeTextTable Source #
:: (PandocEffects effs, Member ToPandoc effs, Foldable f) | |
=> Colonnade Headed a Text | How to encode data as columns |
-> f a | collection of data |
-> Semantic effs () |
Add a table given a Colonnade representation producing text
addColonnadeHtmlTable Source #
:: (PandocEffects effs, Member ToPandoc effs, Foldable f) | |
=> Attribute | Attributes of table Html element, currently unused by knit-haskell |
-> Colonnade Headed a Html | How to encode data as columns |
-> f a | collection of data |
-> Semantic effs () |
Add a Blaze-Colonnade Html Table
addColonnadeCellTable Source #
:: (PandocEffects effs, Member ToPandoc effs, Foldable f) | |
=> Attribute | Attributes of table Html element, currently unused by knit-haskell |
-> Colonnade Headed a Cell | How to encode data as columns |
-> f a | collection of data |
-> Semantic effs () |
Add a Blaze-Colonnade Cell Table