pandoc-csv2table-1.0.7: Convert CSV to Pandoc Table Markdown

CopyrightCopyright (C) 2015 Wasif Hasan Baig
LicenseMIT
MaintainerWasif Hasan Baig <pr.wasif@gmail.com>
Stabilityalpha
Safe HaskellNone
LanguageHaskell2010

Text.Table.Helper

Description

This helper module exports functions extract values from Pandoc AST and build Pandoc Document from CSV.

Synopsis

Documentation

addInlineLabel :: [Inline] -> Pandoc -> Pandoc Source #

Add Inline from Image into Table as the caption

getAligns :: [Inline] -> [Align] Source #

Parse Config String for alignment information

isHeaderPresent :: [Inline] -> Bool Source #

Whether to treat first line of CSV as a header or not.

removeConfigString :: [Inline] -> [Inline] Source #

Remove Str Inline from caption

toBlocks :: Pandoc -> [Block] Source #

Extracts Blocks from Pandoc Document

getAtr :: AtrName -> Atrs -> AtrValue Source #

Get value of attribute

tableFromImageInline :: [Inline] -> CSV -> Pandoc Source #

Make Pandoc Table from Image Inline

tableFromCodeBlock :: Atrs -> CSV -> Pandoc Source #

Make Pandoc Table from Code Block