方法1
安装插件:
Markdown All in One, Markdown Preview Enhanced, vscode-pdf(打开PDF文件)。
遇到错误:
错误提示:“princexml” is required to be installed.
解决:需要安装 prince
sudo dpkg -i prince_14.2-1_ubuntu20.04_amd64.deb
预览,右键选择PDF(prince)即可。
方法2:
安装 Markdown PDF 插件。然后右键:
