markdown-toc
markdown-toc copied to clipboard
bug in headers with named link
On using named links generated TOC is broken.
Source
Example repos.yaml file
#### Example [`repos.yaml`][] file
[`repos.yaml`]: #optodoocustomsrcreposyaml
Output
- [Example
repos.yamlfile](#example-reposyaml-file)
* [Example [`repos.yaml`][] file](#example-reposyaml-file)
Expected Output
- Example
repos.yamlfile
* [Example `repos.yaml` file](#example-reposyaml-file)
Full example
https://github.com/yelizariev/doodba/blob/255d09d638fcb8883377aab5c51815e56d459620/README.md