Files
2026-11-13 00:08:06 +01:00

23 lines
652 B
Lua

local full = vim.g.profile == "full"
return {
{
-- Inline rendering while editing.
"MeanderingProgrammer/render-markdown.nvim",
cond = full,
ft = "markdown",
opts = {},
},
{
-- Rendered preview in a split. Automatic rendering is off, so it never doubles up with render-markdown.
"OXY2DEV/markview.nvim",
cond = full,
cmd = "Markview",
keys = { { "<leader>mp", "<cmd>Markview splitToggle<cr>", desc = "Markdown preview split" } },
opts = {
preview = { enable = false, filetypes = { "markdown", "typst" } },
experimental = { prefer_nvim = true, file_open_command = "tabnew" },
},
},
}