Copyright | Copyright (C) 2015 Wasif Hasan Baig |
---|---|
License | MIT |
Maintainer | Venkateswara Rao Mandela <[email protected]> |
Stability | alpha |
Safe Haskell | None |
Language | Haskell2010 |
Text.Table.Helper
Description
This helper module exports functions extract values from Pandoc AST and build Pandoc Document from CSV.
Synopsis
- addInlineLabel :: [Inline] -> Pandoc -> Pandoc
- getTableType :: [Inline] -> TableType
- toTableType :: String -> TableType
- getAligns :: [Inline] -> [Align]
- isHeaderPresent :: [Inline] -> Bool
- isHeaderPresent1 :: String -> Bool
- removeConfigString :: [Inline] -> [Inline]
- toBlocks :: Pandoc -> [Block]
- getAtr :: AtrName -> Atrs -> AtrValue
- toAlign :: String -> [Align]
- tableFromImageInline :: [Inline] -> CSV -> Pandoc
- tableFromCodeBlock :: Atrs -> CSV -> Pandoc
- getString :: Text -> String
- applyToTuple :: (a -> b) -> (a, a) -> (b, b)
Documentation
addInlineLabel :: [Inline] -> Pandoc -> Pandoc Source #
Add Inline from Image into Table as the caption
getTableType :: [Inline] -> TableType Source #
toTableType :: String -> TableType Source #
isHeaderPresent :: [Inline] -> Bool Source #
Whether to treat first line of CSV as a header or not.
isHeaderPresent1 :: String -> Bool Source #
removeConfigString :: [Inline] -> [Inline] Source #
Remove Str Inline from caption
applyToTuple :: (a -> b) -> (a, a) -> (b, b) Source #