This repository collects Lua filters for pandoc.
To learn about Lua filters, see the documentation.
Each filter goes in its own subdirectory. Each subdirectory contains:
- the filter itself (e.g.
wordcount.lua
) - a
README.md
describing the use of the filter - a
Makefile
with atest
target to test the filter - some data files used for the tests, which may also serve as examples
Filters are tested against the pandoc version in the latest pandoc/ubuntu Docker image, i.e. usually the latest release. There is no guarantee that filters will work with older versions, but many do.
Some filters depend on external programs, which must be installed separately. Refer to the filters' README for detailed requirements.
PRs for improvements, bug fixes, or new filters are welcome. Please see CONTRIBUTING.md for additional information.
All filters are published under the MIT license by their respective authors. See LICENSE for details.