First build the container under Linux or in a git shell in Windows.
./build.sh
Then use it with
./pandoc --help
Or for developing in the container
./pandoc --shell
If you want to be user root in the pandoc container run with
./pandoc --shell --root
There are three containers
- pandoc-core that is a bare compiled pandoc from sources
- pandoc-latex including a latex distribution e.g. for pdf output
- pandoc-mermaid further extension including the Node.js packet
graph TD
pandoc-core --> pandoc-latex
pandoc-latex --> pandoc-mermaid
Mermaid is not that simple installed on Alpine: see https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-on-alpine