markdown preview

This commit is contained in:
Christoph J. Scherr 2025-07-12 19:18:51 +02:00
parent bba6088210
commit 76853beccb
Signed by: PlexSheep
GPG key ID: 9EB784BB202BB7BB
2 changed files with 19 additions and 0 deletions

View file

@ -10,4 +10,22 @@ return {
'nvim-lua/plenary.nvim',
},
},
-- This was made by a frontend dev
-- I need to manually:
-- ```bash
-- cd ~/.local/share/nvim/lazy/markdown-preview.nvim
-- npm install
-- ```
-- See https://github.com/iamcco/markdown-preview.nvim/issues/695
--
-- Code smell but it works
{
'iamcco/markdown-preview.nvim',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
build = 'cd ~/.local/share/nvim/lazy/markdown-preview.nvim && npm install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = { 'markdown' },
},
}

View file

@ -599,3 +599,4 @@ Redundanzprüfung
RevEng
geflasht
HDLC
Grischtophus