Skip to content

maxTocLevel

Sid Vishnoi edited this page Jul 8, 2020 · 6 revisions

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally

maxTocLevel

A number indicating the maximum depth of the table of contents, in case you wish to limit it so as to keep it more readable. Defaults to 0 which includes all levels.

var respecConfig = {
  maxTocLevel: 2,
};