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
613 stars 59 forks source link

support headers with underlines instead of leading hashes #11

Closed scrooloose closed 8 years ago

scrooloose commented 8 years ago

It would be cool if this style of heading was supported:

A heading
=========

A subheading
--------------

I generally prefer this style for simple documents.

mzlogin commented 8 years ago

Useful advice. I will try to do some work around it.

Thanks!

mzlogin commented 8 years ago

A workaround has been committed.

You can update the plugin and try it now. 😄

scrooloose commented 8 years ago

This looks great :-D I will use this at work this week and report any bugs.