需要形成独立文件(standalone)的加上 -s 选项 需要形成文件而不是命令行输出的加上 -o 指定输出文件名
markdown 转 html5 独立文件 pandoc -s -o output.html input.md
markdown 转 latex pandoc -f markdown -t latex -o hello.tex hello.txt
markdown 转 reveal.js html pandoc -s -t revealjs slides.md
pandoc –s 输入文件.后缀 –o 输出文件.后缀