markdown-toc
markdown-toc copied to clipboard
[BUG] Handle headers with links
Issue:
Headers with links are not handled.
Example:
# [Example](http://example.com)
Output:
<!-- TOC -->
- [[Example](http://example.com)](#examplehttpexamplecom)
<!-- /TOC -->
# [Example](http://example.com)
Expected:
<!-- TOC -->
- [Example](#example)
<!-- /TOC -->
# [Example](http://example.com)
Hi, i'm sorry for this bug, i will fix it. Thank your~
You can close this duplicate if you want https://github.com/AlanWalk/markdown-toc/issues/56
Still an issue :-/