Skip to content

Minimum example of making a table of content using @iles/heading #96

Answered by ElMassimo
kecrily asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the TableOfContents component as a starting point.

The meta.headings property is an array of { level, title, slug }, and can be used in different ways.


I intend to make a recipes/cookbook section in the docs where it covers common use cases, but I don't have a timeline for it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants