You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are more than 2 headers/headings which has the same content, the generated ToC html also has the same anchor. In this case the link from ToC won't work.
Even though Markdownlint has a regulation for it (MD024), not every one uses a linter.
[toc]---# Head1
Sample text of head 1.
## SameHead
Sample text of head 1-1.
# Head2
Sample text of head 2.
## SameHead
Sample text of head 2-1.
<ul><li><ahref="#Head1">Head1</a><ul><li><ahref="#SameHead">SameHead</a></li></ul></li><li><ahref="#Head2">Head2</a><ul><li><ahref="#SameHead">SameHead</a></li></ul></li></ul><hr/><h1id="Head1" name="Head1">Head1</h1><p>Sample text of head 1.</p><h2id="SameHead" name="SameHead">SameHead</h2><p>Sample text of head 1-1.</p><h1id="Head2" name="Head2">Head2</h1><p>Sample text of head 2.</p><h2id="SameHead" name="SameHead">SameHead</h2><p>Sample text of head 2-1.</p>
If there are more than 2 headers/headings which has the same content, the generated ToC html also has the same anchor. In this case the link from ToC won't work.
Even though Markdownlint has a regulation for it (MD024), not every one uses a linter.
The text was updated successfully, but these errors were encountered: