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.Input.Table.Colonnade

Contents

Description

Functions to add table fragments, using Colonnade, to the current Pandoc.

Notes:

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

Add Colonnade table fragments

addColonnadeTextTable Source #

Arguments

:: (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 #

Arguments

:: (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 #

Arguments

:: (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