HTML heading

interface IHTMLHeading {
    collapsed?: boolean;
    dataset?: Record<string, string>;
    id?: null | string;
    level: number;
    prefix?: null | string;
    skip?: boolean;
    text: string;
}

Hierarchy (view full)

Properties

collapsed?: boolean

Whether the heading is collapsed or not

dataset?: Record<string, string>

Dataset to add to the item node

id?: null | string

HTML id

level: number

HTML heading level.

prefix?: null | string

Heading prefix.

skip?: boolean

Whether the heading is marked to skip or not

text: string

Heading text.