aboutsummaryrefslogtreecommitdiff
path: root/test/lua/implicit-doc-filter.lua
blob: 320d2210531d0a57b722790348192be7900b2f80 (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.Doc(blocks, meta)
end