Provides a Docker container with Pandoc
and LaTeX
installed.
$ docker run --rm -v `pwd`:/data jpbernius/pandoc
pandoc [OPTIONS] [FILES]
Input formats: commonmark, docbook, docx, epub, haddock, html, json*, latex,
markdown, markdown_github, markdown_mmd, markdown_phpextra,
markdown_strict, mediawiki, native, odt, opml, org, rst, t2t,
textile, twiki
[ *only Pandoc's JSON version of native AST]
Output formats: asciidoc, beamer, commonmark, context, docbook, docx, dokuwiki,
dzslides, epub, epub3, fb2, haddock, html, html5, icml, 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, tei, texinfo, textile
[**for pdf output, use latex or beamer and -o FILENAME.pdf]
Generate HTML from Markdown
$ docker run --rm -v `pwd`:/data jpbernius/pandoc -o example.html example.md
Generate PDF from Markdown
$ docker run --rm -v `pwd`:/data jpbernius/pandoc -o example.html example.md
LaTeX | Pandoc |
---|---|
lmodern |
pandoc |
texlive-latex-base |
pandoc-citeproc |
texlive-fonts-recommended |
pandoc-citeproc-preamble |
texlive-generic-recommended |
pandoc-crossref |
texlive-lang-english |
|
texlive-lang-german |
|
latex-xcolor |
|
texlive-math-extra |
|
texlive-latex-extra |
|
texlive-bibtex-extra |
|
biber |
|
fontconfig |
|
texlive-xetex |