| Copyright | © 2021-2024 Albert Krewinkel |
|---|---|
| License | MIT |
| Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Pandoc.Lua.Marshal.Pandoc
Description
Marshaling/unmarshaling functions of Pandoc values.
Synopsis
- typePandoc :: LuaError e => DocumentedType e Pandoc
- peekPandoc :: LuaError e => Peeker e Pandoc
- pushPandoc :: LuaError e => Pusher e Pandoc
- mkPandoc :: LuaError e => DocumentedFunction e
- peekMeta :: LuaError e => Peeker e Meta
- pushMeta :: LuaError e => Pusher e Meta
- mkMeta :: LuaError e => DocumentedFunction e
- applyFully :: LuaError e => Filter -> Pandoc -> LuaE e Pandoc
Pandoc
typePandoc :: LuaError e => DocumentedType e Pandoc #
Pandoc object type.
mkPandoc :: LuaError e => DocumentedFunction e #
Constructor function for Pandoc values.
Meta
mkMeta :: LuaError e => DocumentedFunction e #
Constructor for Meta values.
Filtering
applyFully :: LuaError e => Filter -> Pandoc -> LuaE e Pandoc #
Apply all components of a Lua filter.
These operations are run in order:
- Inline filter functions are applied to Inline elements, splicing the result back into the list of Inline elements
- The
Inlinesfunction is applied to all lists of Inlines. - Block filter functions are applied to Block elements, splicing the result back into the list of Block elements
- The
Blocksfunction is applied to all lists of Blocks. - The
Metafunction is applied to theMetapart. - The
Pandocfunction is applied to the fullPandocelement.