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

Text.Pandoc.Lua.Marshal.Pandoc

Contents

Description

Marshaling/unmarshaling functions of Pandoc values.

Synopsis

Pandoc

peekPandoc :: LuaError e => Peeker e Pandoc Source #

Retrieves a Pandoc document from a userdata value.

pushPandoc :: LuaError e => Pusher e Pandoc Source #

Pushes a Pandoc value as userdata.

mkPandoc :: LuaError e => DocumentedFunction e Source #

Constructor function for Pandoc values.

Meta

peekMeta :: LuaError e => Peeker e Meta Source #

Retrieves a Meta value from a string-indexed table.

pushMeta :: LuaError e => Pusher e Meta Source #

Pushes a Meta value as a string-indexed table.

mkMeta :: LuaError e => DocumentedFunction e Source #

Constructor for Meta values.