Skip to content

Vizel API / core/src / VizelTableOfContentsOptions

Interface: VizelTableOfContentsOptions

Defined in: packages/core/src/extensions/table-of-contents.ts:35

Options for the Table of Contents extension.

Properties

HTMLAttributes?

ts
optional HTMLAttributes?: Record<string, string>;

Defined in: packages/core/src/extensions/table-of-contents.ts:45

Custom HTML attributes for the TOC container.


maxDepth?

ts
optional maxDepth?: 1 | 3 | 2 | 5 | 4 | 6;

Defined in: packages/core/src/extensions/table-of-contents.ts:40

Maximum heading depth to include.

Default

ts
6

Released under the MIT License.