Interface: RichTextPreformatted
Defined in: block-kit/block-elements.ts:939
Description
A block of preformatted text within a rich text field.
Extends
Properties
border?
optional border: 0 | 1;
Defined in: block-kit/extensions.ts:76
Description
Whether to render a quote-block-like border on the inline side of the list. 0
renders no border
while 1
renders a border.
Inherited from
elements
elements: (RichTextLink | RichTextText)[];
Defined in: block-kit/block-elements.ts:947
Description
An array of either RichTextLink or RichTextText comprising the preformatted text.
type
type: "rich_text_preformatted";
Defined in: block-kit/block-elements.ts:943
Description
The type of element. In this case type
is always rich_text_preformatted
.