markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

bug in headers with named link

Open yelizariev opened this issue 5 years ago • 0 comments

On using named links generated TOC is broken.

Source

Example repos.yaml file

#### Example [`repos.yaml`][] file
[`repos.yaml`]: #optodoocustomsrcreposyaml

Output

  • [Example repos.yaml file](#example-reposyaml-file)
    * [Example [`repos.yaml`][] file](#example-reposyaml-file)

Expected Output

  • Example repos.yaml file
 * [Example `repos.yaml` file](#example-reposyaml-file)

Full example

https://github.com/yelizariev/doodba/blob/255d09d638fcb8883377aab5c51815e56d459620/README.md

yelizariev avatar Feb 04 '20 07:02 yelizariev