November 13, 2020 03:59 pm GMT
Original Link: https://css-tricks.com/parsing-markdown-into-an-automated-table-of-contents/
Parsing Markdown into an Automated Table of Contents
A table of contents is a list of links that allows you to quickly jump to specific sections of content on the same page. It benefits long-form content because it shows the user a handy overview of what content there is with a convenient way to get there.
This tutorial will show you how to parse long Markdown text to HTML and then generate a list of links from the headings. After that, we will make use of the Intersection … Read article “Parsing Markdown into an Automated Table of Contents”
The post Parsing Markdown into an Automated Table of Contents appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/parsing-markdown-into-an-automated-table-of-contents/
Share this article:
Tweet
View Full Article