- pandoc必须要用sudo才能运行这是我没有想到的
sudo pandoc ./results/output.md --pdf-engine=xelatex -o ./results/output.pdf
2.pdflatex安装失败,只能安装wkhtmltopdf
sudo apt-get install wkhtmltopdf
sudo pandoc ./results/output.md --pdf-engine=wkhtmltopdf -o ./results/output.pdf