From b9222e5cb1d8d1d3217f65c6a91886b897956dde Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 28 Nov 2021 15:07:30 +0100 Subject: Lua: add constructors `pandoc.Blocks` and `pandoc.Inlines` The functions convert their argument into a list of Block and Inline values, respectively. --- src/Text/Pandoc/Lua/Module/Pandoc.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3