pandoc/test/lua/implicit-doc-filter.lua

7 lines
198 B
Lua
Raw Permalink Normal View History

function Pandoc (doc)
local meta = {}
local hello = { pandoc.Str "Hello,", pandoc.Space(), pandoc.Str "World!" }
local blocks = { pandoc.Para(hello) }
return pandoc.Pandoc(blocks, meta)
end