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

same link after replace or remove punctuations #4

Closed mzlogin closed 8 years ago

mzlogin commented 8 years ago

For example

hello!hello

and

hello?hello1

will result same toc link.

GFM append a -[number] to distinguish them.

mzlogin commented 8 years ago

see https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/toc_filter.rb, it will solved together with #3 .