toc
toc copied to clipboard
Table of Contents Generator for HTML Markup
H2 added in content(or any other heading) appears as is in the content table list item, but sometimes I want to use a shorter version for SEO reasons... **actual h2...
Wondering what you would recommend to **automatically** remove the "1. " or "1) " of the headings from the slugified anchor? For instance, so that `1. How To Do This`...
Assume I have a document like ``` 1. Heading h1 2. Heading two h1 2.1 First H2 3. Third H1 3.0.1 First H3 (H2 is missing) ``` Then the output...
https://github.com/ivopetkov/html5-dom-document-php * Performance? * Speed? * Code complexity?
Figure out what is going on in `TocGeneratorTest::testUnusedHeadingLevelsAreTrimmedFromGeneratedMenu`