Side table of contents

This page is its own documentation: on screens wider than 1200px the side list tracks the section you are reading. Narrow the window and it steps aside.

Opting in

A page joins the TOC by carrying a data-toc attribute anywhere in its body — the plugin's assets load only on those pages, and only when at least three headings exist.

What gets listed

Headings H2 and H3 inside article and main containers, in document order. Ids are generated from the heading text when missing, so deep links like this one keep working.

Deep links

Every section is addressable: the browser hash, the side list and the page all agree on the same ids.

Motion rules

Clicks scroll smoothly — instantly for visitors who prefer reduced motion. The highlight is an IntersectionObserver, not a scroll handler.

No golden accents

The TOC inherits the theme's own color for the active mark. House rule: the palette never gains gold on dark ground.

Editing this page

Append /edit: the same visual editor as every other PopUP_CMS page, with the side TOC still tracking beneath the drawer.