[add] markdown preview for mermaid code
This commit is contained in:
12
lua/plugins/markdown-preview.lua
Normal file
12
lua/plugins/markdown-preview.lua
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
return {
|
||||||
|
"selimacerbas/markdown-preview.nvim",
|
||||||
|
dependencies = { "selimacerbas/live-server.nvim" },
|
||||||
|
config = function()
|
||||||
|
require("markdown_preview").setup({
|
||||||
|
-- all optional; sane defaults shown
|
||||||
|
port = 8421,
|
||||||
|
open_browser = true,
|
||||||
|
debounce_ms = 300,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user