Configuration for mapping HTML headings to representation as given element with reserved class denoting the heading level and vice versa.

interface ReplaceHeadingsByElementAndClassConfig {
    dataLocalName?: string;
    dataReservedClassPrefix?: string;
    direction?: Direction;
    priority?: PriorityString;
}

Properties

dataLocalName?: string

Element name in data.

dataReservedClassPrefix?: string

Prefix for reserved class denoting the heading level in data. Heading level number will be appended.

direction?: Direction
priority?: PriorityString

Priority for mapping.