Closed ojsef39 closed 7 months ago
Solution:
return {
{
"iamcco/markdown-preview.nvim",
lazy = true,
ft = { "markdown", "rst" },
build = function()
vim.fn["mkdp#util#install"]()
end,
config = function()
vim.g.mkdp_filetypes = { "markdown", "rst" }
end,
},
}
Hey, any help would be highly appreciated, and please excuse my stupidity. i'm new to lazyvim.
I have the following in /lua/plugins/markdown-preview.lua
I've tried: "reStructuredText", "x-rst", "rst", "ReSt" but all of them didn't work, i also tried writing them in a single string with and without {}
I think it's possible to do some way, but im not able to find out how, since someone asked here for an enhancment to rst tables.
Thanks in advance to anyone who can help me out!!