Pandoc 在转换期间死于退出代码“43”:b“生成 PDF 时出错

Pandoc died with exitcode "43" during conversion: b"Error producing PDF

我在使用 Apostrophe which markdown editor 进行 PDF 输出时遇到错误!

An error happened while trying to export:
Pandoc died with exitcode "43" during conversion: b"Error producing PDF. 
! LaTeX Error: File default.sty' not found.
Type X to quit or <RETURN> to proceed, 
or enter new name. (Default extension: sty)
Enter file name: ! 
Emergency stop. <read >

1.23 \usepackage
Close

尝试修复一些非法的、冗余的YAML header选项或阵容。

---
   geometry: margins=3cm
   fontfamily: default
   fontsize:12pt
...

修复它

---
   geometry: margin=3cm
   fontsize:12pt
...