fixed neovim notes with pandoc

This commit is contained in:
Ryan Schanzenbacher 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" "htop"
"curl" "curl"
"pandoc" "pandoc"
"texlive-bin"
"texlive-scheme-basic" "texlive-scheme-basic"
"texlive-txfonts" "texlive-txfonts"
"texlive-amsfonts" "texlive-amsfonts"

View file

@ -70,8 +70,8 @@ let g:table_mode_header_fillchar='='
"pandoc render and open preview "pandoc render and open preview
command Pv AsyncRun zathura '%:r.pdf' 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 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 --pdf-engine=xelatex --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 "Auto-rerender markdown files to pdf
autocmd BufWritePost *.mkd :Rd autocmd BufWritePost *.mkd :Rd