Convert Markdown to PDF with Pandoc Pandoc 默认用 LaTeX 生成PDF文件,下面简单示例要求系统安装有 pandoc 和 LaTeX 程序: test.md 源文件如下: # From .md to PDF ## Math $$ … (数学公式) $$ ## 中文 落霞与孤鹜齐飞,秋水共长天一色 执行转换 # 最简单的示例 C:\> pandoc.exe --pdf-engine=xelatex test.md -o test.pdf # 直接这么干会出错 [WARNING] Missing character: There is no 涓?pandoc.exe: <stderr