diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-28 15:07:30 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-28 16:02:42 +0100 |
commit | b9222e5cb1d8d1d3217f65c6a91886b897956dde (patch) | |
tree | b08aa67eab72a6c2858a2c3a243680f25e2d7017 /src/Text/Pandoc/Lua | |
parent | 4874f2dbd24ef8dbc078a1b81184c91524c93efb (diff) | |
download | pandoc-b9222e5cb1d8d1d3217f65c6a91886b897956dde.tar.gz |
Lua: add constructors `pandoc.Blocks` and `pandoc.Inlines`
The functions convert their argument into a list of Block and Inline
values, respectively.
Diffstat (limited to 'src/Text/Pandoc/Lua')
-rw-r--r-- | src/Text/Pandoc/Lua/Module/Pandoc.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Lua/Module/Pandoc.hs b/src/Text/Pandoc/Lua/Module/Pandoc.hs index 085d904cf..e932ca59a 100644 --- a/src/Text/Pandoc/Lua/Module/Pandoc.hs +++ b/src/Text/Pandoc/Lua/Module/Pandoc.hs @@ -117,7 +117,9 @@ otherConstructors = , mkMeta , mkAttr , mkAttributeList + , mkBlocks , mkCitation + , mkInlines , mkListAttributes , mkSimpleTable |