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

hrefs in toc faulty

Open sissibieber opened this issue 3 years ago • 0 comments

Hello, when adding a numeration in my headings the generated toc href links do not remove the "." in the tag. e.g. heading:

<h2 id="31-some-text"><a class="header-link" href="#31-some-text"></a>3.1 Some text</h2>

toc:

<li class="sidebar-header-2"><a href="#3.1-some-text">3.1 Some text</a></li>

sissibieber avatar Jul 15 '21 09:07 sissibieber