Easy Table of Contents

Headings

Version: 1.0.5

Headings

Choose one heading level or a range, then skip any heading you do not want in the outline.

  • Minimum Heading Level (default: H2): first level included
  • Maximum Heading Level (default: H4): last level included. It must be the same as or deeper than the minimum.
  • Exclude Class (default: no-toc): a heading with this class is skipped

Examples:

  • H2 only: set both fields to H2
  • H3 only: set both fields to H3
  • H2 and H3: set Minimum to H2 and Maximum to H3

Example exclude markup:

<h3 class="no-toc">Hidden from TOC</h3>

The plugin adds a heading id when one is missing, so jump links stay stable. Prefer clear headings, because readers scan the outline before they read the article.