Skip to content

pstjohn/pandoc-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Pandoc Docker Container

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

docker run pstjohn/pandoc pandoc --help

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 pstjohn/pandoc pandoc -f markdown -t html5 myfile.md -o myfile.html

About

Docker container for Pandoc with Latex tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published