Skip to content
Document Authoring DA  API Docs v2.1.0
npmGitHub

TableOfContentsFieldDefinitionInputNEW

TableOfContentsFieldDefinitionInput:

{
type: "tableOfContents";
outlineLevels?: { from: number; to: number } | null;
}

A table of contents to add, as TableOfContentsFieldDefinition with its options optional.

type: "tableOfContents"


optional outlineLevels: { from: number; to: number; } | null

The heading levels to list, inclusive at both ends, each between 1 and 9, or null for every level. Defaults to levels 1 to 3.