mdpdf.vim (373B)
1 " Last Change: 2020 avril 30 2 3 " Check if current compiler is not set 4 if exists("current_compiler") 5 finish 6 endif 7 let current_compiler = "mdpdf" 8 9 " Set compiler options 10 " pandoc exam.md --from markdown+yaml_metadata_block --to ms -o %.pdf 11 setlocal makeprg=pandoc\ %:t\ --from\ markdown+yaml_metadata_block\ --to\ latex\ --toc\ -o\ %:t:r.pdf 12 setlocal errorformat=%f:%l:\ %m