summaryrefslogtreecommitdiff
path: root/test/lua/hello-world-doc.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-09-29 17:24:31 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-30 08:33:40 -0700
commit5be9052f5fb7283372b3d5497bef499718a34992 (patch)
tree80e5805786ef7ab08f363135861e1aa9c8868f6f /test/lua/hello-world-doc.lua
parent79980eee4a1854921d7fb8b14848894b53cc21a7 (diff)
[API Change] Extract Lua code into new package pandoc-lua-engine
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
Diffstat (limited to 'test/lua/hello-world-doc.lua')
-rw-r--r--test/lua/hello-world-doc.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/lua/hello-world-doc.lua b/test/lua/hello-world-doc.lua
deleted file mode 100644
index 62236584e..000000000
--- a/test/lua/hello-world-doc.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-return {
- {
- Pandoc = function(doc)
- local meta = {}
- local hello = { pandoc.Str "Hello,", pandoc.Space(), pandoc.Str "World!" }
- local blocks = { pandoc.Para(hello) }
- return pandoc.Pandoc(blocks, meta)
- end
- }
-}