Modify pandoc compilation of eisvogel adding TOC
This commit is contained in:
parent
9b502767de
commit
cef4a656f2
|
@ -23,7 +23,7 @@ au FileType markdown Goyo
|
||||||
let g:markdown_fenced_languages = ['cpp', 'python', 'java']
|
let g:markdown_fenced_languages = ['cpp', 'python', 'java']
|
||||||
let g:vim_markdown_math=1
|
let g:vim_markdown_math=1
|
||||||
"" Pandoc
|
"" Pandoc
|
||||||
autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings &<cr>
|
autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings --toc &<cr>
|
||||||
autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr>
|
autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr>
|
||||||
autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr>
|
autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr>
|
||||||
autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr>
|
autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr>
|
||||||
|
|
Loading…
Reference in New Issue