valeriangalliat / markdown-it-anchor

A markdown-it plugin that adds an `id` attribute to headings and optionally permalinks.
The Unlicense
291 stars 72 forks source link

underscore sign in href replaced with minus sign by default #38

Closed timocov closed 6 years ago

timocov commented 6 years ago

Seems that _ is valid URL part and should not be replaced with -.

Of course we can pass own slugify but I guess that default behavior should not replace it.

nagaozen commented 6 years ago

Fixed by version 5.0.0.

timocov commented 6 years ago

Thanks!