HtmlTools
HtmlTools copied to clipboard
Some tools for HTML manipulation
HtmlTools
Some use(ful|less) tools for manipulation of HTML.
HtmlTools\Helpers::addHeadingsId($html, $headingSelector = 'h1, h2, h3, h4, h5, h6')
This methods is useful to automatically add ids to headings and use them as anchor.