Interface TextBlockIndented

A text block of a type that allows indentation.

interface TextBlockIndented {
    formatting?: InlineFormat[];
    indent_level?: number;
    subtype: "indented" | "ordered-list-item" | "unordered-list-item";
    text: string;
    type: "text";
}

Hierarchy

  • TextBlockBase
    • TextBlockIndented

Properties

formatting?: InlineFormat[]

Inline formatting for this text.

indent_level?: number
subtype: "indented" | "ordered-list-item" | "unordered-list-item"

The subtype of text block.

text: string

The text to use inside this block.

type