From 1977d83153f9ec79665941c9946ba02f4fb541bc Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 9 Dec 2023 01:27:30 +0100 Subject: [PATCH] nvim: make markdown preview links colored --- .config/nvim/lua/plugins/knap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua index 8cec0f5..43b17f4 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% -o %outputfile%", + mdtopdf = "pandoc %docroot% -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%",