Copyright | © 2021-2024 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <albert@zeitkraut.de> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Definition and marshaling of the SimpleTable
data type used as a
convenience type when dealing with tables.
Synopsis
- data SimpleTable = SimpleTable {
- simpleTableCaption :: [Inline]
- simpleTableAlignments :: [Alignment]
- simpleTableColumnWidths :: [Double]
- simpleTableHeader :: [[Block]]
- simpleTableBody :: [[[Block]]]
- peekSimpleTable :: forall e. LuaError e => Peeker e SimpleTable
- pushSimpleTable :: forall e. LuaError e => SimpleTable -> LuaE e ()
- mkSimpleTable :: LuaError e => DocumentedFunction e
Documentation
data SimpleTable Source #
A simple (legacy-style) table.
SimpleTable | |
|
Instances
Show SimpleTable Source # | |
Defined in Text.Pandoc.Lua.Marshal.SimpleTable showsPrec :: Int -> SimpleTable -> ShowS # show :: SimpleTable -> String # showList :: [SimpleTable] -> ShowS # | |
Eq SimpleTable Source # | |
Defined in Text.Pandoc.Lua.Marshal.SimpleTable (==) :: SimpleTable -> SimpleTable -> Bool # (/=) :: SimpleTable -> SimpleTable -> Bool # |
peekSimpleTable :: forall e. LuaError e => Peeker e SimpleTable Source #
Retrieve a simple table from the stack.
pushSimpleTable :: forall e. LuaError e => SimpleTable -> LuaE e () Source #
Push a simple table to the stack by calling the
pandoc.SimpleTable
constructor.
mkSimpleTable :: LuaError e => DocumentedFunction e Source #
Constructor for the SimpleTable
type.