notoc class - speced/respec GitHub Wiki

.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
⚠️ **GitHub.com Fallback** ⚠️