This filter converts YAML from table code blocks into tables.
See example.
Usage (basic):
pandoc --lua-filter table.lua example.md -o example.htmlUsage (with pandoc-crossref):
pandoc --standalone --lua-filter table.lua --filter pandoc-crossref example.md -o example.htmlFeatures:
- Vertical and horizontal tables.
- Reusable templates for multiple tables of the same structure.
TODO:
- Automatic ID based on column title.
- Move to https://github.com/pandoc/lua-filters once filter is stable.
License: MIT