{"repo":"mzlogin/vim-markdown-toc","free":true,"listed":false,"github":"https://github.com/mzlogin/vim-markdown-toc","clone":"git clone https://github.com/mzlogin/vim-markdown-toc.git","description":"A vim 7.4+ plugin to generate table of contents for Markdown files.","language":"Vim Script","stars":628,"topics":["vim-plugins","toc","vim-markdown-toc","vim","markdown","vim-plugin"],"license":"MIT","category":"productivity","readme_excerpt":"vim-markdown-toc A vim 7.4+ plugin to generate table of contents for Markdown files. [中文版使用指南][7] Table of Contents Features Installation vim-plug Vundle Usage Generate table of contents Update existing table of contents Remove table of contents Options Screenshots References Features Generate table of contents for Markdown files. Supported Markdown parsers: - [x] GFM (GitHub Flavored Markdown) - [x] GitLab - [x] Redcarpet Update existing table of contents. Auto update existing table of contents on save. Note: This plugin only works in Markdown files, that usually have a .[md mdown mkd mkdn markdown mdwn mdx] suffix. To check file type, please run :set ft , Markdown files will echo filetype=markdown . Installation Suggest to manage your vim plugins via [vim-plug][8] or [Vundle][4], so you can install it simply three steps: vim-plug 1. add the following line to your vimrc file 2. :so $MYVIMRC 3. :PlugInstall Vundle 1. add the following line to your vimrc file 2. :so $MYVIMRC 3. :PluginInstall Usage Generate table of contents Move the cursor to the line you want to append table of contents, then type a command below suit you. The command will generate headings after the cursor into table of contents. 1. :GenTocGFM Generate table of contents in [GFM][2] link style. This command is suitable for Markdown files in GitHub repositories, like README.md , and Markdown files for GitBook. 2. :GenTocRedcarpet Generate table of contents in [Redcarpet][3] link style. This command is suitabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/mzlogin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mzlogin/vim-markdown-toc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}