From 572a7d84e4382655a58c58f02824bb515c3e973a Mon Sep 17 00:00:00 2001 From: Daveanand Mannie Date: Wed, 25 Feb 2026 11:27:48 -0500 Subject: [PATCH] [add] markdown preview for mermaid code --- lua/plugins/markdown-preview.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/plugins/markdown-preview.lua diff --git a/lua/plugins/markdown-preview.lua b/lua/plugins/markdown-preview.lua new file mode 100644 index 0000000..98eb002 --- /dev/null +++ b/lua/plugins/markdown-preview.lua @@ -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, +}