File: implicit-doc-filter.lua

package info (click to toggle)
pandoc 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,456 kB
  • sloc: haskell: 55,993; xml: 3,297; makefile: 112; sh: 7
file content (6 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
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