diff options
| author | cryxtalix <fgx8p9t@protonmail.com> | 2026-05-09 00:15:07 +0800 |
|---|---|---|
| committer | cryxtalix <fgx8p9t@protonmail.com> | 2026-05-09 00:15:07 +0800 |
| commit | 8fbf7c2a9ce92b97941bff2c8b52c1d52d9834d2 (patch) | |
| tree | aa4cb6f169758fb9abdcf5b378a1a8ccc6902344 /.config/nvim_old/lua/plugins/render-markdown.lua | |
| parent | 1302056eddd9a69ea2d0ffdf8bedd8582fb5a907 (diff) | |
Update
Diffstat (limited to '.config/nvim_old/lua/plugins/render-markdown.lua')
| -rw-r--r-- | .config/nvim_old/lua/plugins/render-markdown.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/nvim_old/lua/plugins/render-markdown.lua b/.config/nvim_old/lua/plugins/render-markdown.lua new file mode 100644 index 0000000..d0d0639 --- /dev/null +++ b/.config/nvim_old/lua/plugins/render-markdown.lua @@ -0,0 +1,25 @@ +-- https://github.com/MeanderingProgrammer/render-markdown.nvim +return { + { + 'MeanderingProgrammer/render-markdown.nvim', + opts = {}, + dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' } + }, + { + 'ChuufMaster/markdown-toc', --https://github.com/ChuufMaster/markdown-toc + -- ":GenerateTOC" + -- ":DeleteTOC" + 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 = false, + + -- TOC default string + -- WARN + toc_format = '%s- [%s](<%s#%s>)', + } + } +} |
