-- -- Markdown plugin -- -- Uses `render-markdown`, see https://github.com/MeanderingProgrammer/render-markdown.nvim require("nvim-treesitter").install({ "html", "latex", "markdown", "markdown_inline", "yaml", }) local markdown_textwidth = vim.g.dotfiles.textwidth.markdown require("render-markdown").setup({ heading = { min_width = markdown_textwidth }, code = { position = "center", sign = false, width = "block", min_width = markdown_textwidth / 2, }, dash = { width = markdown_textwidth }, win_options = { conceallevel = { rendered = 2 } }, })