diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2022-12-04 23:16:01 +0100 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-12-05 08:52:37 -0800 |
| commit | a03b77fbd35a0547f51429cd24388728aadd2008 (patch) | |
| tree | 52d64efed811804febc2b6352e80887e9ded6792 /pandoc-lua-engine/test/writer-template.lua | |
| parent | a4ac1ebb954b0eaf0eac0805b8340b1609ef5d8f (diff) | |
Lua: support `-D` CLI option for custom writers [API change]
A new error `PandocNoTemplateError` (code 87) is thrown if a template is
required but cannot be found.
Diffstat (limited to 'pandoc-lua-engine/test/writer-template.lua')
| -rw-r--r-- | pandoc-lua-engine/test/writer-template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-lua-engine/test/writer-template.lua b/pandoc-lua-engine/test/writer-template.lua index c90f7c1ef..8908c0ebb 100644 --- a/pandoc-lua-engine/test/writer-template.lua +++ b/pandoc-lua-engine/test/writer-template.lua @@ -3,5 +3,5 @@ function Writer (doc, opts) end function Template () - return pandoc.template.compile '<!-- start -->\n$body$\n<!-- stop -->\n' + return '<!-- start -->\n$body$\n<!-- stop -->\n' end |
