Example: TOC Disabled
This page disables table of contents using markdown frontmatter.
When to use
- Short pages where TOC adds visual noise.
- Landing-style docs pages with only a few headings.
- Blog posts where right-side navigation is not required.
Copy-paste template
Expected behavior
- The on-page navigation block is hidden.
- Page content width remains in standard mode.
- Heading anchors still work.
Verification steps
- Open the page.
- Confirm right-side TOC is not rendered.
- Confirm heading links still navigate by hash.
Common mistakes
- Expecting content to become wider automatically.
- Forgetting that
wideContent: true is a separate flag.
Additional section
You can still use all markdown extensions on this page.
Nested heading
TOC is hidden by page flag, not by heading structure.