diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-26 21:39:24 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-26 21:45:16 +0200 |
commit | b95e864ecfc0a0ef96fa09d4118c8e6b4033784c (patch) | |
tree | 65b6cbf01483bbf7d932d82bb95c8549cc69799f /src/Text/Pandoc/Lua/Module/Pandoc.hs | |
parent | 80ed81822e27ac0d09e365ccc6f6508f3b1b4a9b (diff) | |
download | pandoc-b95e864ecfc0a0ef96fa09d4118c8e6b4033784c.tar.gz |
Lua: marshal SimpleTable values as userdata objects
Diffstat (limited to 'src/Text/Pandoc/Lua/Module/Pandoc.hs')
-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 458795029..7bad3f1a5 100644 --- a/src/Text/Pandoc/Lua/Module/Pandoc.hs +++ b/src/Text/Pandoc/Lua/Module/Pandoc.hs @@ -39,6 +39,7 @@ import Text.Pandoc.Lua.Marshaling.Attr (mkAttr, mkAttributeList) import Text.Pandoc.Lua.Marshaling.List (List (..)) import Text.Pandoc.Lua.Marshaling.ListAttributes ( mkListAttributes , peekListAttributes) +import Text.Pandoc.Lua.Marshaling.SimpleTable (mkSimpleTable) import Text.Pandoc.Lua.PandocLua (PandocLua, addFunction, liftPandocLua, loadDefaultModule) import Text.Pandoc.Options (ReaderOptions (readerExtensions)) @@ -311,6 +312,7 @@ otherConstructors = #? "Creates a single citation." , mkListAttributes + , mkSimpleTable ] stringConstants :: [String] |