mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 03:17:16 +00:00
5be9052f5f
The flag 'lua53` must now be used with that package if pandoc is to be compiled against Lua 5.3.
11 lines
242 B
Lua
11 lines
242 B
Lua
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
|
|
}
|
|
}
|