pandoc-lua-marshal-0.3.2.1: Use pandoc types in Lua

Copyright | © 2021-2026 Albert Krewinkel © 2025-2026 Sean Soon
License | MIT
Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Lua.Marshal.TableBody

Description

Marshaling/unmarshaling functions of `TableBody` values.

Synopsis

- peekTableBody :: LuaError e => Peeker e TableBody
- peekTableBodyFuzzy :: LuaError e => Peeker e TableBody
- pushTableBody :: LuaError e => TableBody -> LuaE e ()
- typeTableBody :: LuaError e => DocumentedType e TableBody
- mkTableBody :: LuaError e => DocumentedFunction e

# Documentation

peekTableBody :: LuaError e => Peeker e TableBody Source #

Retrieves a TableBody from the stack.

peekTableBodyFuzzy :: LuaError e => Peeker e TableBody Source #

Retrieves a TableBody from the stack, accepting either a 'pandoc TableBody' userdata object or a table with fields `attr`, `body`, `head`, `row_head_columns`.

pushTableBody :: LuaError e => TableBody -> LuaE e () Source #

Push a TableBody as a userdata value.

typeTableBody :: LuaError e => DocumentedType e TableBody Source #

TableBody object type.

mkTableBody :: LuaError e => DocumentedFunction e Source #

Constructor function for `TableBody` values.