%TOC% automatically creates a table of contents based on the headings present in the topic. To exclude a heading from a %TOC% add !! to the end of the heading markup, e.g. write ---+!! for a ---+ heading.
See More Tips... | 27 Oct 2025 - 23:23 | Foswiki v2.1.9 |