Custom Readers and Writers - jgm/pandoc GitHub Wiki

Pandoc can be extended with custom readers and writers written in Lua. No separate Lua install needed.

Readers

Project Description
data/creole.lua (bundled) Creole 1.0 wiki markup. Full lpeg grammar reference. View with pandoc --print-default-data-file creole.lua.
panluna Extensible Markdown reader via lunamark. Add custom syntax (shortcodes, glossary terms) with alter_syntax.
lean.lua Literate programming in Lean. Generalizable to any literate format.

Writers

Project Description
djot-writer.lua Full-featured djot writer, canonical example of pandoc.scaffolding.Writer. Now native in pandoc ≥3.1.12.
pandoc-pretext PreTeXt XML for open-source textbooks.
scribus-writer.lua Scribus desktop publishing (.sla) writer.
gemtext.lua Gemini protocol (gemtext) writer.