Table of Contents
This article demonstrates the automatic table of contents feature. The TOC appears in the sidebar on larger screens when an article exceeds 400 words. How the TOC Works # The table of contents is automatically generated from your heading structure. It uses h2 and h3 headings by default (configurable in config/_default/markup.toml). The TOC sidebar is sticky and scrolls with the page. Active sections are highlighted as you scroll.
3 min read