diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua index 43b17f4..6eac96e 100644 --- a/.config/nvim/lua/plugins/knap.lua +++ b/.config/nvim/lua/plugins/knap.lua @@ -14,7 +14,7 @@ return { textopdfforwardjump = "zathura --synctex-forward=%line%:%column%:%srcfile% %outputfile%", -- markdown mdoutputext = "pdf", - mdtopdf = "pandoc %docroot% -V colorlinks=true -V linkcolor=blue -V urlcolor=red -V toccolor=gray -o %outputfile%", + mdtopdf = "pandoc %docroot% --toc --toc-depth=5 -V colorlinks=true -V linkcolor=blue -V urlcolor=red -V toccolor=gray -o %outputfile%", mdtopdfviewerlaunch = "zathura ./%outputfile%", mdtohtml = "pandoc --standalone %docroot% -o %outputfile%", mdtohtmlviewerlaunch = "firefox --kiosk --new-window %outputfile%",