markdown preview

This commit is contained in:
Christoph J. Scherr 2024-03-04 13:50:12 +01:00
parent 7efca1eaae
commit 2d241f89fc
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
3 changed files with 19 additions and 0 deletions

View File

@ -886,6 +886,19 @@ local plugins = {
end, end,
}, },
{ "nanotee/zoxide.vim", lazy = false, enabled = false }, { "nanotee/zoxide.vim", lazy = false, enabled = false },
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
vim.fn["mkdp#util#install"]()
end,
config = function()
-- Ugly fix for wsl not finding my browser
-- I HATE windows
vim.g.mkdp_echo_preview_url = 1
end,
},
} }
return plugins return plugins

View File

@ -288,3 +288,9 @@ additional
scriptable scriptable
Autcrate Autcrate
rustaceans rustaceans
serv0
serv1
serv2
sequenceDiagram
style
BT

Binary file not shown.