I want to send a Markdown table to Slack with its postMessage API, but I got raw content in Slack instead of a rendered table. Does Slack support Markdown tables? I
No, in fact, Slack doesn't support Markdown in messages¹ at all. It uses its own similar-at-a-glance format called mrkdwn which has some notable differences with Markdown:
* and _ are used for emphasis** and __ are used for boldmrkdwn * is used for bold and _ is used for emphasismrkdwn uses ~ for strikethroughmrkdwn doesn't support headingsDon't expect arbitrary Markdown² to work in Slack messages.
¹Slack does support Markdown in posts which can be created using the files.upload API endpoint setting filetype to post.
²Note that tables aren't supported in regular Markdown either. Like strikethrough, some implementations have added these.
Slack does not support rendering of tables so this markup will not work.
You have two alternatives:
fields in layout blocks.