Skip to main content

Interface: MrkdwnElement

Defined in: block-kit/composition-objects.ts:157

Description

Defines an object containing some text.

See

Text object reference.

Properties

text

text: string;

Defined in: block-kit/composition-objects.ts:166

Description

The text for the block. This field accepts any of the standard text formatting markup. The minimum length is 1 and maximum length is 3000 characters.


type

type: "mrkdwn";

Defined in: block-kit/composition-objects.ts:161

Description

The formatting to use for this text object.


verbatim?

optional verbatim: boolean;

Defined in: block-kit/composition-objects.ts:173

Description

When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed. Using a value of true will skip any preprocessing of this nature, although you can still include manual parsing strings.