Interface InlineFormatBasic

Basic inline formatting types that require no additional information.

interface InlineFormatBasic {
    end: number;
    start: number;
    type:
        | "bold"
        | "small"
        | "italic"
        | "strikethrough";
}

Hierarchy

  • InlineFormatBase
    • InlineFormatBasic

Properties

Properties

end: number

The ending index of the formatting range (inclusive).

start: number

The starting index of the formatting range (inclusive).

type:
    | "bold"
    | "small"
    | "italic"
    | "strikethrough"