Skip to main content

Interface: MrkdwnElement

Description

Defines an object containing some text.

See

Text object reference.

Properties

text

text: string;

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.

Defined in

block-kit/composition-objects.ts:166


type

type: "mrkdwn";

Description

The formatting to use for this text object.

Defined in

block-kit/composition-objects.ts:161


verbatim?

optional verbatim: boolean;

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.

Defined in

block-kit/composition-objects.ts:173