alanwalk / markdown-toc

MarkdownTOC(Table Of Contents) Plugin for Visual Studio Code.
MIT License
141 stars 111 forks source link

[BUG] Handle headers with links #46

Open ccldd opened 6 years ago

ccldd commented 6 years ago

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)
alanwalk commented 6 years ago

Hi, i'm sorry for this bug, i will fix it. Thank your~

bayu01 commented 6 years ago

You can close this duplicate if you want https://github.com/AlanWalk/markdown-toc/issues/56

KevinColemanInc commented 4 years ago

Still an issue :-/