diff options
| author | Albert Krewinkel <[email protected]> | 2023-02-23 11:22:50 +0100 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2023-03-13 13:23:43 +0100 |
| commit | 0f7653cd10deeeeb646809f9210a46087ff6e4c7 (patch) | |
| tree | da76bee01808a9adc2f2d481501cd5a3adc62016 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs | |
| parent | 7916940c23f68037a8579b2d3076abd269578233 (diff) | |
Switch to hslua-2.3
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs')
| -rw-r--r-- | pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs index 652588947..87d9cebb5 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Template.hs @@ -16,7 +16,7 @@ import HsLua.Module.DocLayout (peekDoc, pushDoc) import Text.Pandoc.Error (PandocError) import Text.Pandoc.Lua.Marshal.AST (peekMeta, pushBlocks, pushInlines) import Text.Pandoc.Lua.Marshal.Context (peekContext, pushContext) -import Text.Pandoc.Lua.Marshal.Template (peekTemplate, pushTemplate) +import Text.Pandoc.Lua.Marshal.Template (typeTemplate, peekTemplate, pushTemplate) import Text.Pandoc.Lua.PandocLua (PandocLua (unPandocLua), liftPandocLua) import Text.Pandoc.Writers.Shared (metaToContext') import Text.Pandoc.Templates @@ -35,6 +35,7 @@ documentedModule = Module , moduleFields = [] , moduleOperations = [] , moduleFunctions = functions + , moduleTypeInitializers = [initType typeTemplate] } -- | Template module functions. |
