Skip to main content

@slack/web-api / MrkdwnElement

Interface: MrkdwnElement

Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:143

Description

Defines an object containing some text.

See

Text object reference.

Properties

text

text: string;

Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:152

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: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:147

Description

The formatting to use for this text object.


verbatim?

optional verbatim: boolean;

Defined in: node_modules/@slack/types/dist/block-kit/composition-objects.d.ts:159

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.