mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 11:46:56 +00:00
We now use Pandoc instead of Doc (though Doc remains a deprecated Synonym), and we deprecate DoubleQuoted, SingleQuoted, InlineMath, and DisplayMath.
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
|
|
}
|
|
}
|