Table of contents
The table of contents that follows the headings in view.
Installation
Usage
DocsPage shows the TOC beside the page on wide screens and as a popover on smaller ones. To use it elsewhere:
The active headings are highlighted with a thumb on a line that follows the heading levels. useActiveAnchor, useActiveAnchors, useItems and useTOCItems are re-exported from components/toc.
Fumadocs UI's clerk and block TOC styles aren't available yet (#8).