aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-28 15:07:30 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-11-28 16:02:42 +0100
commitb9222e5cb1d8d1d3217f65c6a91886b897956dde (patch)
treeb08aa67eab72a6c2858a2c3a243680f25e2d7017 /src
parent4874f2dbd24ef8dbc078a1b81184c91524c93efb (diff)
downloadpandoc-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')
-rw-r--r--src/Text/Pandoc/Lua/Module/Pandoc.hs2
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