This is pandoc filter for adding nonbreakable spaces (~
) to text in Czech language.
Everything is written in haskell.
After compilation you can use the executable file as a pandoc filter.
Example usage:
pandoc input-file --filter vlnka -o output file
To test this program you have to:
- Build it (
make build
) - Run tests (
make test
)
This will run vlnka as filter on example .tex
file and check if it outputs expected output.
In case if it does not work it will print diff of expected output and actual output.
You will also find dump.json
file containing AST of tested document in projects root directory.
This project is published under GPLv3 license.