Credit to https://github.com/jagregory/pandoc-docker
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 /ebook directory is created in the container, which can be mapped for use with relative file paths. Pandoc will always be run from the /ebook directory in the container.
docker run -v $PWD:/ebbok larrycai/pandoc -f latex -t epub myfile.latex -o myfile.epub
Content type
Image
Digest
Size
40.1 MB
Last updated
over 5 years ago
docker pull larrycai/pandoc