Skip to content

Instantly share code, notes, and snippets.

@neomindryan
Created April 23, 2018 17:44
Show Gist options
  • Save neomindryan/7e07d3ad9e0c5e73c7478c068945c643 to your computer and use it in GitHub Desktop.
Save neomindryan/7e07d3ad9e0c5e73c7478c068945c643 to your computer and use it in GitHub Desktop.
Shell script to invoke pandoc within a docker container
#!/bin/bash
# This is inspired by: https://github.com/blang/latex-docker/blob/master/dockercmd.sh
# Number 2 pandoc vm: vbatts/pandoc
# more here: https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=pandoc&starCount=0
docker run --rm -ti -v "$PWD":/data marcelhuberfoo/pandoc-gitit pandoc "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment