Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 7 revisions

.notoc

Excludes a section from the Table of Contents.

Usage

<section class="notoc" id="acknowledgements">
  <h2>Acknowledgements</h2>
  <p>The editors thank...</p>
</section>

Notes

  • Only affects the immediate section — child sections are also excluded
  • data-max-toc="0" has the same effect as class="notoc" but can be applied from data-include context
  • To suppress the entire ToC, use noTOC config option

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally