Slack supports several formatting systems, not one universal Markdown renderer. Use Slack's mrkdwn syntax for ordinary API message text, structured rich text for supported Block Kit layouts, and the documented markdown or table blocks when your app needs those capabilities. Pasting a Markdown pipe table into a normal message is not a reliable way to create a rendered table.
That distinction explains why two seemingly conflicting answers can both describe real experiences: a bot can publish a structured table, while a person pasting the same information into the composer sees literal pipes. Start with where the message will be created, not with the file extension of the source.
Choose the formatting surface first
| Surface | Input | Practical use |
|---|---|---|
| User message composer | Formatting controls and supported typing shortcuts | A person composing a message |
| API message text or section text | mrkdwn, where supported | Compact bot notifications and links |
| Rich text block | Structured JSON elements | Explicit paragraphs, lists and styled text |
| Markdown block | Standard Markdown in a markdown block | App-generated Markdown translated by Slack |
| Table block | Rows and typed cells | Programmatically published tabular data |
Slack's message formatting guide documents mrkdwn, its Slack-specific link syntax and text-object usage. The rich-text guide describes the structured alternative. Neither means every field in every block accepts the same format.
For example, a plain_text label is not a place to send styled Markdown. Check the exact block or element reference before reusing a string across notifications, buttons and dialogs.
Copyable mrkdwn for a release notification
This example is the JSON body for an authorized app's chat.postMessage request. Replace the channel identifier with an approved test channel. It contains no token and does not post anything by itself.
1{2 "channel": "REPLACE_WITH_TEST_CHANNEL_ID",3 "text": "Release review: the export guide is ready. Review the documentation before publishing.",4 "blocks": [5 {6 "type": "section",7 "text": {8 "type": "mrkdwn",9 "text": "*Release review*\n_Export guide ready_\nReview `export.csv` handling and <https://docs.example.com/export|the documentation>.\n~Old draft~ is retired."10 }11 }12 ]13}The visible result is a bold review label, an italic status, inline code, a labeled link and struck-through old-draft text. Notice the single asterisks for bold and angle-bracket link syntax. Those are not GitHub Markdown's **bold** and [label](url) conventions.
The top-level text provides a useful plain-language summary. Do not make a critical instruction available only through a color, a visual arrangement or a link whose label says nothing about its destination.
Escape data before inserting it into mrkdwn
Slack reserves ampersands and angle brackets for parsing. Encode those characters when they are literal data, rather than automatically encoding the entire completed message. Otherwise you can either create unintended parsing or break intentional links.
For a bot that reports a customer-supplied title, separate trusted formatting from untrusted text:
1function escapeSlackText(value) {2 return String(value)3 .replaceAll('&', '&')4 .replaceAll('<', '<')5 .replaceAll('>', '>');6}7
8const title = escapeSlackText('Export <draft> & review');9const message = `*Documentation review*\n${title}`;This function addresses Slack's control characters; it is not a general sanitizer for HTML or a complete policy for mentions. For user-generated content where formatting is unnecessary, choose a supported plain_text field instead. Avoid constructing broadcast mentions from user input.
Can Slack render a Markdown table?
Slack's current Markdown block reference explicitly lists tables among supported translations. It also describes this block in the context of apps using platform AI features. This is a specific block capability, not a promise about the composer, all API text fields or every existing app integration.
The block fragment looks like this:
1{2 "type": "markdown",3 "text": "| Check | Owner |\n| --- | --- |\n| Links | Docs |\n| Examples | Engineering |"4}Use it only in a supported app surface after checking the reference and testing the complete payload. If your integration uses a section's mrkdwn text, switching the text string alone does not switch its rendering system.
For predictable tabular structure in a bot message, consider Slack's dedicated table block, which documents typed cells and programmatic message publishing.
1{2 "channel": "REPLACE_WITH_TEST_CHANNEL_ID",3 "text": "Documentation checks: Links owned by Docs; Examples owned by Engineering.",4 "blocks": [5 {6 "type": "table",7 "rows": [8 [9 { "type": "raw_text", "text": "Check" },10 { "type": "raw_text", "text": "Owner" }11 ],12 [13 { "type": "raw_text", "text": "Links" },14 { "type": "raw_text", "text": "Docs" }15 ],16 [17 { "type": "raw_text", "text": "Examples" },18 { "type": "raw_text", "text": "Engineering" }19 ]20 ]21 }22 ]23}Keep tables small enough to read on a phone. For a wide comparison or a long dataset, send a summary and link to the canonical document instead. A correctly accepted payload can still be an uncomfortable reading experience.
What should a person paste into the composer?
Use the composer's formatting controls for ordinary messages. Slack's user formatting instructions explain its supported authoring behavior. Do not paste the bot payload above into a channel and expect it to turn into blocks.
When a table is unavailable in the intended composer workflow, use short labeled lines:
1Documentation review2Links: Docs team3Examples: Engineering4Deadline: Friday5Full checklist: https://docs.example.com/release-reviewA code block can preserve simple column alignment, but it is still a code block rather than a semantic table. Long values, narrow screens and assistive reading can make aligned text harder to use. Prefer labels for action items and a linked document for complex comparisons.
Test the message you will actually send
Preview the complete payload, not just one text string. Then send it to an approved test channel with the same app and permissions used in production. Check desktop, mobile, links, notifications and the plain summary. Test a long title and literal angle brackets as well as the clean sample.
If Slack rejects a message, inspect the response and the reference for the exact block. Do not fall back by publishing raw private JSON into a public channel. Keep credentials out of screenshots, request logs and support examples.
When moving long-form documentation into chat, keep one maintained source and make the Slack message a summary. Our Notion export review and Confluence-to-Markdown workflow cover checking source content before reusing it elsewhere.
Slack Markdown FAQ
Does Slack support Markdown tables everywhere?
No. Current Markdown blocks document table translation, and table blocks support structured rows. That does not make pipe tables work in every mrkdwn field or the normal user composer.
Is mrkdwn the same as standard Markdown?
No. It is Slack's formatting syntax. Bold and labeled links are common places where copying ordinary Markdown produces different results.
Should a bot send rich text or mrkdwn?
Choose based on the supported block and required structure. Simple notifications can use mrkdwn; rich text uses structured elements. Validate the actual message layout instead of converting all fields indiscriminately.
Can I use the API examples without a Slack app?
No. The JSON is a message body, not an authenticated request. Sending requires an authorized app, appropriate permissions and a permitted destination. Test with non-sensitive data first.