Interface IMarkdownViewerHeading

Interface describing a Markdown viewer heading.

interface IMarkdownViewerHeading {
    collapsed?: boolean;
    dataset?: Record<string, string>;
    level: number;
    line: number;
    prefix?: null | string;
    raw: 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

level: number

HTML heading level.

line: number

Heading line

prefix?: null | string

Heading prefix.

raw: string

Raw string containing the heading

skip?: boolean

Whether the heading is marked to skip or not

text: string

Heading text.