These factor out code that was repeated in about 20 writers: computing the line length from writerWrapText/writerColumns, and rendering the body with or without the template. DocBook, JATS, ICML, OPML, and ANSI use only wrapColumns, since they transform the Doc before rendering or use a different renderer. The Lua writer scaffolding uses renderWithTemplate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pandoc-lua-engine
This package provides a Lua pandoc scripting engine based. It allows to write filters, custom readers, and custom writers in Lua.