-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Custom Readers and Writers
Karl Bartel edited this page Apr 12, 2026
·
1 revision
Pandoc can be extended with custom readers and writers written in Lua. No separate Lua install needed.
| 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. |
| 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. |