The markdown block is now supported! Display formatted markdown in messages with this release:
const response = await client.chat.postMessage({
channel: "C0123456789",
text: "a bold message appears",
blocks: [
{
type: "markdown",
text: "**this is bold**",
},
],
});
Package: https://www.npmjs.com/package/@slack/types/v/2.16.0 Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/types@2.15.0...@slack/types@2.16.0 Milestone: https://github.com/slackapi/node-slack-sdk/milestone/146?closed=1
Fetched April 3, 2026