Sign inSign up

josdotso/pp

By josdotso

•Updated over 7 years ago

Dockerfile for https://github.com/CDSoft/pp

Image
1

2.7K

josdotso/pp repository overview

⁠docker-pp

Dockerfile for pp⁠, the generic preprocessor for Pandoc⁠.

Based on: https://github.com/CDSoft/pp⁠

⁠Docker Image

https://hub.docker.com/r/josdotso/pp⁠

⁠Usage

⁠Running pp
pp="docker run --rm -it josdotso/pp"

${pp} --help
⁠Accessing Files

To use this image effectively, you should mount directories from the host machine into the container. To do this with docker run, see the -v argument in docker run --help.

  -v, --volume list                    Bind mount a volume
⁠Running pandoc with pandoc-latex-template⁠:
pandoc="docker run --rm --entrypoint pandoc -v ${PWD}:/opt -it josdotso/pp"

${pandoc} /opt/example.md -o /opt/example.pdf --from markdown --template eisvogel --listings

ref: https://github.com/Wandmalfarbe/pandoc-latex-template#usage⁠

⁠Bonus Material

The following projects are embedded in this container image for your convenience:

Tag summary

Content type

Image

Digest

Size

2.6 GB

Last updated

over 7 years ago

docker pull josdotso/pp