From 879354e12a959a9a283a12e7dedd39409b3ea3c8 Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 4 Dec 2023 23:18:55 +0100 Subject: [PATCH] nvim: added html mode for knap markdown --- .config/nvim/lua/plugins/knap.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua index 6cde01f..9d38af9 100644 --- a/.config/nvim/lua/plugins/knap.lua +++ b/.config/nvim/lua/plugins/knap.lua @@ -13,9 +13,12 @@ return { textopdfviewerrefresh = "none", textopdfforwardjump = "zathura --synctex-forward=%line%:%column%:%srcfile% %outputfile%", -- markdown - mdoutputext = "pdf", + mdoutputext = "html", mdtopdf = "pandoc %docroot% -o %outputfile%", mdtopdfviewerlaunch = "zathura %outputfile%", + mdtohtml = "pandoc --standalone %docroot% -o %outputfile%", + mdtohtmlviewerlaunch = "firefox --kiosk --new-window %outputfile%", + mdtohtmlviewerrefresh = "none", mdtopdfviewerrefresh = "none", } end