pandoc-lua-marshal-0.1.3.1: Use pandoc types in Lua
Copyright© 2021 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Lua.Marshal.Cell

Description

Marshaling/unmarshaling functions of table Cell values.

Synopsis

Documentation

peekCell :: LuaError e => Peeker e Cell Source #

Retrieves a Cell object from the stack.

peekCellFuzzy :: LuaError e => Peeker e Cell Source #

Retrieves a Cell from the stack, accepting either a 'pandoc Cell' userdata object or a table with fields attr, alignment, row_span, col_span, and contents.

pushCell :: LuaError e => Cell -> LuaE e () Source #

Push a table cell as a table with fields attr, alignment, row_span, col_span, and contents.

typeCell :: LuaError e => DocumentedType e Cell Source #

Cell object type.

mkCell :: LuaError e => DocumentedFunction e Source #

Constructor function for Cell values.