Use markdown-it plugin for toc #673
Labels
11ty-migration
blocks-l10n
These issues block localizing the site
enhancement
New feature or request
Instead of using page data to build the toc it would be better to fix #659 and then use a toc plugin.
The same slugify function should be used everywhere for ids as that will make everything consistent:
Here's a sample of code that does the toc and heading id generation:
This should also then negate the need for doc authors working around issues with this by adding
<section id="some-id-just-for-linkage">
.The text was updated successfully, but these errors were encountered: