pandoc-lua-marshal-0.2.0: Use pandoc types in Lua
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.Lua.Marshal.Block

Description

Marshal values of types that make up Block elements.

Synopsis

Single Block elements

peekBlock :: LuaError e => Peeker e Block Source #

Retrieves an Block value.

peekBlockFuzzy :: LuaError e => Peeker e Block Source #

Try extra hard to retrieve an Block value from the stack. Treats bare strings as Str values.

pushBlock :: LuaError e => Pusher e Block Source #

Pushes an Block value as userdata object.

List of Blocks

peekBlocks :: LuaError e => Peeker e [Block] Source #

Retrieves a list of Block values.

peekBlocksFuzzy :: LuaError e => Peeker e [Block] Source #

Try extra-hard to return the value at the given index as a list of inlines.

pushBlocks :: LuaError e => Pusher e [Block] Source #

Pushes a list of Block values.

Constructors

blockConstructors :: LuaError e => [DocumentedFunction e] Source #

Constructor functions for Block elements.

mkBlocks :: LuaError e => DocumentedFunction e Source #

Constructor for a list of Block values.

Walk

walkBlockSplicing :: (LuaError e, Walkable (SpliceList Block) a) => Filter -> a -> LuaE e a Source #