Public Repository

Last pushed: 6 months ago
Short Description
Pandoc built from source, with Latex tools installed and CJK fonts installed, set as the endpoint
Full Description

Pandoc Docker Container

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

docker run jt6562/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 --rm -v `pwd`:/source jt6562/pandoc -N -s --toc --smart -V CJKmainfont='Microsoft YaHei' -V mainfont='Calibri'  tmp.md -o $2 -t latex --latex-engine=xelatex --highlight-style kate -V geometry:margin=1in

This docker image include two fonts: msyh and calibri

Docker Pull Command
Owner
jt6562