{"id":13706149,"url":"https://github.com/ajorgensen/vim-markdown-toc","last_synced_at":"2026-02-08T15:40:32.143Z","repository":{"id":33105787,"uuid":"36743557","full_name":"ajorgensen/vim-markdown-toc","owner":"ajorgensen","description":"An easy way to generate a table of contents for your markdown file","archived":false,"fork":false,"pushed_at":"2021-02-23T17:32:22.000Z","size":6,"stargazers_count":23,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-03T22:16:46.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajorgensen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-02T15:42:50.000Z","updated_at":"2024-06-10T10:35:05.000Z","dependencies_parsed_at":"2022-09-13T14:40:38.185Z","dependency_job_id":null,"html_url":"https://github.com/ajorgensen/vim-markdown-toc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajorgensen%2Fvim-markdown-toc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajorgensen%2Fvim-markdown-toc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajorgensen%2Fvim-markdown-toc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajorgensen%2Fvim-markdown-toc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajorgensen","download_url":"https://codeload.github.com/ajorgensen/vim-markdown-toc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224465665,"owners_count":17315854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:52.580Z","updated_at":"2026-02-08T15:40:32.086Z","avatar_url":"https://github.com/ajorgensen.png","language":"Vim script","funding_links":[],"categories":["plugins for writing"],"sub_categories":[],"readme":"# markdown-toc.vim\n\nHave you ever wanted to have a sweet table of contents for your markdown file but didn't want to deal with the pain of generating it yourself? Well now you dont have to.\n\n1. [Usage](#usage)\n2. [Configuration](#configuration)\n3. [Example](#example)\n4. [Installation](#installation)\n\n## Usage\n\n* Run `:GenerateMarkdownTOC` to generate the table of contents for an open markdown file. This will place the generated table of contents at the location of your cursor at the time that you run the command.\n  * Supports both `#` and `==`/`--` styles of header declarations\n\n## Configuration\n\nBy default this plugin will not generate an entry for top level headers (`#` or `==`). You can modifying this behavior by setting `g:mdtoc_starting_header_level = 1`\n```vimscript\nlet g:mdtoc_starting_header_level = 1\n```\n\n## Example\n\n```markdown\n# Top level header\n\n1. [Sub-heading](#sub-heading)\n2. [Another sub heading](#another-sub-heading)\n\t1. [You can even mix heading styles if that floats your boat](#you-can-even-mix-heading-styles-if-that-floats-your-boat)\n\t\t1. [This is totally like inception](#this-is-totally-like-inception)\n\n## Sub-heading\nSome content will go here\n\nAnother sub heading\n------------------\nSome other content can go here if you want\n\n### You can even mix heading styles if that floats your boat\nBecause we know you do what you want\n\n#### This is totally like inception\n```\n\n## Installation\n\nYou can use your favorite vim package manage but here are a few for your convenience.\n\n```vimscript\n\" plug.vim\nPlug 'ajorgensen/vim-markdown-toc'\n\n\" Vundle\nPlugin 'ajorgensen/vim-markdown-toc'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajorgensen%2Fvim-markdown-toc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajorgensen%2Fvim-markdown-toc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajorgensen%2Fvim-markdown-toc/lists"}