summaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/test/Tests
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-12-13 12:45:36 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2023-01-15 10:47:54 -0800
commitcdf8c69fb94aeae4f0284a6b534321552d4bed2a (patch)
treef26ed1b4107bc21805bb0409f496f616a5b72cec /pandoc-lua-engine/test/Tests
parent932053d97026387c2f2658a16e45aec6e88b4f05 (diff)
Lua: add module `pandoc.structure`.
Adds support for table of contents and chunks handling. The function `make_sections` has been given a friendlier interface and was moved to the new module; the old `pandoc.utils.make_sections` has been deprecated.
Diffstat (limited to 'pandoc-lua-engine/test/Tests')
-rw-r--r--pandoc-lua-engine/test/Tests/Lua/Module.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc-lua-engine/test/Tests/Lua/Module.hs b/pandoc-lua-engine/test/Tests/Lua/Module.hs
index c485b7784..003161d1c 100644
--- a/pandoc-lua-engine/test/Tests/Lua/Module.hs
+++ b/pandoc-lua-engine/test/Tests/Lua/Module.hs
@@ -29,6 +29,8 @@ tests =
("lua" </> "module" </> "pandoc-mediabag.lua")
, testPandocLua "pandoc.path"
("lua" </> "module" </> "pandoc-path.lua")
+ , testPandocLua "pandoc.structure"
+ ("lua" </> "module" </> "pandoc-structure.lua")
, testPandocLua "pandoc.template"
("lua" </> "module" </> "pandoc-template.lua")
, testPandocLua "pandoc.types"