I am creating slides in markdown that I want to process using pandoc and beamer. I wonder if there is a markdown way of creating an overprint environment? I tried to do it with the fenced div exte. Pandoc -s MANUAL.txt-o example7.rtf; Beamer slide show: pandoc -t beamer SLIDES-o example8.pdf; DocBook XML: pandoc -s -t docbook MANUAL.txt-o example9.db; Man page: pandoc -s -t man pandoc.1.md-o example10.1; ConTeXt: pandoc -s -t context MANUAL.txt-o example11.tex; Converting a web page to markdown.
Mermaid-filter - Pandoc filter for creating diagrams in mermaid syntax blocks in markdown docs.
偶尔会用到 Pandoc,不过不常用也就记不得 Pandoc 常用的命令,但蛋疼的是想用时却经常打不开官网(实在不想吐槽垃圾的校园网),所以索性直接把 Pandoc 常用的命令转载过来保存查看。

原文:http://www.pandoc.org/demos.html
Examples
To see the output created by each of the commands below, click on the name of the output file:
Pandoc Beamer Theme
HTML fragment:
pandoc MANUAL.txt -o example1.htmlStandalone HTML file:
pandoc -s MANUAL.txt -o example2.htmlHTML with smart quotes, table of contents, CSS, and custom footer:
pandoc -s -S --toc -c pandoc.css -A footer.html MANUAL.txt -o example3.htmlLaTeX:
pandoc -s MANUAL.txt -o example4.texFrom LaTeX to markdown:
pandoc -s example4.tex -o example5.textreStructuredText:
pandoc -s -t rst --toc MANUAL.txt -o example6.textRich text format (RTF):
pandoc -s MANUAL.txt -o example7.rtfBeamer slide show:
pandoc -t beamer SLIDES -o example8.pdfDocBook XML:
pandoc -s -S -t docbook MANUAL.txt -o example9.dbMan page:
pandoc -s -t man pandoc.1.md -o example10.1ConTeXt:
pandoc -s -t context MANUAL.txt -o example11.texConverting a web page to markdown:
pandoc -s -r html http://www.gnu.org/software/make/ -o example12.textFrom markdown to PDF:
pandoc MANUAL.txt --latex-engine=xelatex -o example13.pdfPDF with numbered sections and a custom LaTeX header:
pandoc -N --template=mytemplate.tex --variable mainfont='Palatino' --variable sansfont='Helvetica' --variable monofont='Menlo' --variable fontsize=12pt --variable version=1.17.2 MANUAL.txt --latex-engine=xelatex --toc -o example14.pdfA wiki program using Happstack and pandoc: gitit
HTML slide shows:
pandoc -s --mathml -i -t dzslides SLIDES -o example16a.htmlpandoc -s --webtex -i -t slidy SLIDES -o example16b.htmlpandoc -s --mathjax -i -t revealjs SLIDES -o example16d.htmlTeX math in HTML:
pandoc math.text -s -o mathDefault.htmlpandoc math.text -s --mathml -o mathMathML.htmlpandoc math.text -s --webtex -o mathWebTeX.htmlpandoc math.text -s --mathjax -o mathMathJax.htmlpandoc math.text -s --latexmathml -o mathLaTeXMathML.htmlSyntax highlighting of delimited code blocks:
pandoc code.text -s --highlight-style pygments -o example18a.htmlpandoc code.text -s --highlight-style kate -o example18b.htmlpandoc code.text -s --highlight-style monochrome -o example18c.htmlpandoc code.text -s --highlight-style espresso -o example18d.htmlpandoc code.text -s --highlight-style haddock -o example18e.htmlpandoc code.text -s --highlight-style tango -o example18f.htmlpandoc code.text -s --highlight-style zenburn -o example18g.htmlGNU Texinfo, converted to info, HTML, and PDF formats:
pandoc MANUAL.txt -s -o example19.teximakeinfo --no-validate --force example19.texi -o example19.infomakeinfo --no-validate --force example19.texi --html -o example19texi2pdf example19.texi # produces example19.pdfOpenDocument XML:
pandoc MANUAL.txt -s -t opendocument -o example20.xmlODT (OpenDocument Text, readable by OpenOffice):
pandoc MANUAL.txt -o example21.odtMediaWiki markup:
pandoc -s -S -t mediawiki --toc MANUAL.txt -o example22.wikiEPUB ebook:
pandoc -S MANUAL.txt -o MANUAL.epubMarkdown citations:
pandoc -s -S --bibliography biblio.bib --filter pandoc-citeproc CITATIONS -o example24a.htmlpandoc -s -S --bibliography biblio.json --filter pandoc-citeproc --csl chicago-fullnote-bibliography.csl CITATIONS -o example24b.htmlpandoc -s -S --bibliography biblio.yaml --filter pandoc-citeproc --csl ieee.csl CITATIONS -t man -o example24c.1Textile writer:
pandoc -s -S MANUAL.txt -t textile -o example25.textileTextile reader:
pandoc -s -S example25.textile -f textile -t html -o example26.htmlOrg-mode:
pandoc -s -S MANUAL.txt -o example27.orgAsciiDoc:
pandoc -s -S MANUAL.txt -t asciidoc -o example28.txtWord docx:
pandoc -s -S MANUAL.txt -o example29.docxLaTeX math to docx:
pandoc -s math.tex -o example30.docxDocBook to markdown:
pandoc -f docbook -t markdown -s howto.xml -o example31.textMediaWiki to html5:
pandoc -f mediawiki -t html5 -s haskell.wiki -o example32.htmlCustom writer:
pandoc -t sample.lua example33.text -o example33.htmlDocx with a reference docx:
pandoc -S --reference-docx twocolumns.docx -o UsersGuide.docx MANUAL.txtDocx to markdown, including math:
pandoc -s example30.docx -t markdown -o example35.mdEPUB to plain text:
pandoc MANUAL.epub -t plain -o example36.text
