md 文件 轉 pdf
1、下載測試文件
2、 環境
python
brew install python
pandoc
brew install pandoc
brew install pandoc-citeproc
tinytex
sudo chown -R $(whoami) /usr/local/bin
curl -sL "https://yihui.org/gh/tinytex/tools/install-unx.sh" | sh
安裝擴展
tlmgr install unicode-math filehook xecjk xltxtra realscripts fancyhdr lastpage ctex ms cjk ulem environ trimspaces zhnumber collection-fontsrecommended
使用
在測試文件的目錄下運行
python batch-markdown-to-pdf.py
# 如果 有提示缺什么模塊,直接 pip install 模塊名 就行
完成之后,在原測試文件夾目錄下生成一個 pdf 文件夾,里面就是轉換后的 pdf 文件
合並 pdf
(免費網站)[https://www.ilovepdf.com/zh-cn/merge_pdf]