fixed neovim notes with pandoc

This commit is contained in:
Ryan 2023-08-29 13:45:30 -04:00
parent d41fb575cf
commit f78adc5a38
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
2 changed files with 3 additions and 2 deletions

View file

@ -53,6 +53,7 @@
"htop"
"curl"
"pandoc"
"texlive-bin"
"texlive-scheme-basic"
"texlive-txfonts"
"texlive-amsfonts"

View file

@ -70,8 +70,8 @@ let g:table_mode_header_fillchar='='
"pandoc render and open preview
command Pv AsyncRun zathura '%:r.pdf'
command Rd silent exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %"
command Rr exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %"
command Rd silent exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %"
command Rr exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %"
"Auto-rerender markdown files to pdf
autocmd BufWritePost *.mkd :Rd