Javascript: TableOfContentsInfo.highlightMode Property
Description
Indicates how the text of the table of contents is highlighted.
Syntax
<string> TableOfContentsInfo.highlightModeExamples
The following example demonstrates TableOfContentsInfo.highlightMode in a practical document-editing workflow. Indicates how the text of the table of contents is highlighted.
function inspectHighlightMode(tableOfContentsInfo) {
const highlightMode = tableOfContentsInfo.highlightMode;
console.log("highlight mode:", highlightMode);
}