return { { 'richardbizik/nvim-toc', ft = { "md", "markdown" }, config = true, }, { { 'ChuufMaster/markdown-toc', opts = { -- The heading level to match (i.e the number of "#"s to match to) max 6 heading_level_to_match = -1, -- Set to True display a dropdown to allow you to select the heading level ask_for_heading_level = true, -- TOC default string -- WARN toc_format = '%s- [%s](<%s#%s>)', }, ft = { "md", "markdown" }, }, { 'SCJangra/table-nvim', ft = {'markdown', 'md' }, opts = {}, } }, { "iamcco/markdown-preview.nvim", cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, build = "cd app && npm install", init = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown", "md" }, }, -- { -- "brianhuster/live-preview.nvim", -- opts = { -- cmd = "LivePreview", -- Main command of live-preview.nvim -- port = 5500, -- Port to run the live preview server on. -- autokill = false, -- If true, the plugin will autokill other processes running on the same port (except for Neovim) when starting the server. -- browser = 'default', -- Terminal command to open the browser for live-previewing (eg. 'firefox', 'flatpak run com.vivaldi.Vivaldi'). By default, it will use the default browser. -- dynamic_root = false, -- If true, the plugin will set the root directory to the previewed file's directory. If false, the root directory will be the current working directory (`:lua print(vim.uv.cwd())`). -- sync_scroll = false, -- If true, the plugin will sync the scrolling in the browser as you scroll in the Markdown files in Neovim. -- picker = nil, -- Picker to use for opening files. 3 choices are available: 'telescope', 'fzf-lua', 'mini.pick'. If nil, the plugin look for the first available picker when you call the `pick` command. -- }, -- enabled = false, -- }, { 'MeanderingProgrammer/render-markdown.nvim', -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons ---@module 'render-markdown' ---@type render.md.UserConfig opts = { completions = { blink = { enabled = true } }, render_modes = { 'n', 'c', 't' }, }, }, { 'Thiago4532/mdmath.nvim', dependencies = { 'nvim-treesitter/nvim-treesitter', }, opts = { -- Filetypes that the plugin will be enabled by default. filetypes = {'markdown'}, -- Color of the equation, can be a highlight group or a hex color. -- Examples: 'Normal', '#ff0000' foreground = 'Normal', -- Hide the text when the equation is under the cursor. anticonceal = true, -- Hide the text when in the Insert Mode. hide_on_insert = true, -- Enable dynamic size for non-inline equations. dynamic = true, -- Configure the scale of dynamic-rendered equations. dynamic_scale = 1.0, -- Interval between updates (milliseconds). update_interval = 400, -- Internal scale of the equation images, increase to prevent blurry images when increasing terminal -- font, high values may produce aliased images. -- WARNING: This do not affect how the images are displayed, only how many pixels are used to render them. -- See `dynamic_scale` to modify the displayed size. internal_scale = 1.0, } }, }