pandoc docker image with latex support for pdf generation
Example usage:
docker run --rm -it -v "$(pwd):/pandoc" geometalab/pandoc pandoc -o README.html README.md
Converting to pdf can be achieved in two ways, through use of latex, and through use of wkhtmltopdf.
docker run --rm -it -v "$(pwd):/pandoc" geometalab/pandoc pandoc -o README.pdf README.md
Also see issue in pandoc: jgm/pandoc#1793.
docker run --rm -it -v "$(pwd):/pandoc" geometalab/pandoc bash -c "pandoc -t html5 README.md | wkhtmltopdf - README.pdf"
docker run --rm -it -v "$(pwd):/pandoc" --entrypoint="/bin/bash" geometalab/pandoc
Python3 with pytest installed.
pytest
To verify the image is working, this uses pytest.
./build_and_push.sh