mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 03:17:16 +00:00
a03b77fbd3
A new error `PandocNoTemplateError` (code 87) is thrown if a template is required but cannot be found.
8 lines
149 B
Lua
8 lines
149 B
Lua
function Writer (doc, opts)
|
|
return pandoc.write(doc, 'gfm', opts)
|
|
end
|
|
|
|
function Template ()
|
|
return '<!-- start -->\n$body$\n<!-- stop -->\n'
|
|
end
|