Sign inSign up

larrycai/pandoc

By larrycai

Updated over 5 years ago

Image
0

250

larrycai/pandoc repository overview

Credit to https://github.com/jagregory/pandoc-docker

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 /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

Tag summary

Content type

Image

Digest

Size

40.1 MB

Last updated

over 5 years ago

docker pull larrycai/pandoc