interface JournalEntryPageHeading {
    level: number;
    text: string;
    slug: string;
    element: HTMLHeadingElement;
    children: string[];
    order: number;
}

Properties

level: number

The heading level, 1-6.

text: string

The raw heading text with any internal tags omitted.

slug: string

The generated slug for this heading.

element: HTMLHeadingElement

The currently rendered element for this heading, if it exists.

children: string[]

Any child headings of this one.

order: number

The linear ordering of the heading in the table of contents.