mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
fixed neovim notes with pandoc
This commit is contained in:
parent
d41fb575cf
commit
f78adc5a38
2 changed files with 3 additions and 2 deletions
|
@ -53,6 +53,7 @@
|
|||
"htop"
|
||||
"curl"
|
||||
"pandoc"
|
||||
"texlive-bin"
|
||||
"texlive-scheme-basic"
|
||||
"texlive-txfonts"
|
||||
"texlive-amsfonts"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue