在vim中用pandoc进行预览

written in 软件, vim, pandoc, html

在vim中用pandoc进行预览

"----------生成打包图片的单一html文件
map <LEADER>mh <ESC>:w<CR><ESC>:silent !pandoc  -s --self-contained % -c paht/to/style.css -o %:r.html<CR>

参见《pandoc的用法(1)》