mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 10:46:15 -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"
|
"htop"
|
||||||
"curl"
|
"curl"
|
||||||
"pandoc"
|
"pandoc"
|
||||||
|
"texlive-bin"
|
||||||
"texlive-scheme-basic"
|
"texlive-scheme-basic"
|
||||||
"texlive-txfonts"
|
"texlive-txfonts"
|
||||||
"texlive-amsfonts"
|
"texlive-amsfonts"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue