mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
609 stars 59 forks source link

Start and End Level [feature request] #56

Closed ndaman closed 1 year ago

ndaman commented 5 years ago

It would be cool if there was an option to set to define the minimum and maximum levels in the table of contents.

ndaman commented 5 years ago

I'm new to git and contributions, but I went ahead and (locally) made changes to add a few variables

vmt_link defaults to 1 and defines whether or not you want the toc to generate a link vmt_min_level defaults to 1 and defines the minimum header level you want included in your toc vmt_max_level defaults to 6 and defines the maximum header level you want included in the toc

I assume a pull request is the way to go about officially submitting my work for you to review and potentially include?

miruohotspring commented 1 year ago

It looks like this issue can be closed: #58

mzlogin commented 1 year ago

Yes, thank you guys.