/pandoc-docker

Docker container for Pandoc with Latex tools

OtherNOASSERTION

Pandoc Docker Container

Docker container for the source distribution of Pandoc, with Latex tools installed.

docker run jagregory/pandoc

pandoc [OPTIONS] [FILES]
Input formats:  docbook, haddock, html, json, latex, markdown, markdown_github,
                markdown_mmd, markdown_phpextra, markdown_strict, mediawiki,
                native, opml, rst, textile
Output formats: asciidoc, beamer, context, docbook, docx, dzslides, epub, epub3,
                fb2, html, html5, json, latex, man, markdown, markdown_github,
                markdown_mmd, markdown_phpextra, markdown_strict, mediawiki,
                native, odt, opendocument, opml, org, pdf*, plain, revealjs,
                rst, rtf, s5, slideous, slidy, texinfo, textile
                [*for pdf output, use latex or beamer and -o FILENAME.pdf

A /source directory is created in the container, which can be mapped for use with relative file paths. Pandoc will always be run from the /source directory in the container.

docker run -v `pwd`:/source jagregory/pandoc -f markdown -t html5 myfile.md -o myfile.html