aboutsummaryrefslogtreecommitdiff
path: root/test/lua/implicit-doc-filter.lua
blob: 253462d1cec31ef2428634c03d5190c513b14b73 (plain)
1
2
3
4
5
6
function Doc (doc)
  local meta = {}
  local hello = { pandoc.Str "Hello,", pandoc.Space(), pandoc.Str "World!" }
  local blocks = { pandoc.Para(hello) }
  return pandoc.Pandoc(blocks, meta)
end