Slack formatting cheat sheet: mrkdwn vs Markdown
Updated
Slack's formatting language, officially mrkdwn, looks like markdown but uses different characters for the basics. Syntax on the left, what Slack shows on the right. Verified against Slack's markup help page, Format your messages and the API formatting reference.
Does Slack support Markdown?
No. Slack messages use mrkdwn, which Slack's developer documentation describes as "Slack's custom text formatting syntax … inspired by markdown, but uses different rules". Bold is *one asterisk*, italic is _underscores_, strikethrough is ~one tilde~; `code`, ```code blocks``` and > quotes match Markdown. There is no syntax for headings, tables, images, horizontal rules or task lists, and in the composer the markup is only interpreted when "Format messages with markup" is enabled in Preferences → Advanced; by default you use the formatting toolbar instead.
- Bold:
*text*— one asterisk, where Markdown needs two. - Italic:
_text_— underscores only; single asterisks mean bold. - Strikethrough:
~text~— one tilde; the GFM~~text~~shows literally. - Same as Markdown:
`code`,```blocks```and>quotes. - Missing: headings, tables, images, horizontal rules, task lists and, in app-published text, any list syntax.
Text formatting
Slack's formatting language is called mrkdwn. It looks like markdown but swaps the characters for bold, italic and strikethrough. The right column shows what Slack displays.
Bold
*bold*bold
Single asterisks. Standard markdown's **double asterisks** show up as a bold word with a stray asterisk on each side.
Italic
_italic_italic
Underscores only. *single asterisks* mean bold in Slack, not italic.
Strikethrough
~strikethrough~strikethrough
Single tildes. The ~~double tilde~~ of GitHub Flavored Markdown is shown literally.
Combined
*_bold italic_* and ~*bold strike*~bold italic and bold strike
Nest the markers; the outer pair must close in reverse order. There is no markup for underline: use the toolbar or Cmd/Ctrl+U.
Code
Inline code
Run `npm install` first.Run npm install first.
Single backticks. Nothing inside is formatted, which makes backticks the easiest way to show *asterisks* literally.
Code block
```
const answer = 42;
console.log(answer);
```const answer = 42;
console.log(answer);
Three backticks. No language tag and no syntax highlighting in messages; a ```js tag is treated as part of the code. For highlighted code, create a text snippet instead.
Quotes and lists
Block quote
> quoted line
> second quoted linequoted line second quoted line
An angle bracket at the start of each line. Slack's markup page writes it without a space (>text); both forms work in the composer.
Bulleted and numbered lists
* first item (type * then space)
1. first step (type 1. then space)- first item (type * then space)
- first step (type 1. then space)
With the default toolbar, typing * or 1. followed by a space starts an auto-formatted list; indent with Tab. With markup mode on, auto-formatting is off and there is no list syntax: type the bullet character or hyphen yourself. The API has no list syntax either.
Links, mentions and emoji
Link in the composer (markup mode)
[shown text](https://docs-md.com)Works in the composer only when "Format messages with markup" is on. Otherwise paste the URL (auto-linked) or use the toolbar link button.
Link in the API
<https://docs-md.com|shown text>
<mailto:hello@example.com|Email us>API-only form for chat.postMessage and Block Kit mrkdwn text. The [text](url) form is not supported there and arrives as plain text.
Mentions
In the composer: @name #channel @here @channel
In the API: <@U012AB3CD> <#C123ABC456> <!here> <!channel> <!subteam^ID>Type the @ or # and pick from the autocomplete. Apps must send the ID form; plain @name in API text does not notify anyone.
Emoji
Shipped :tada: :rocket:Shortcodes expand in the composer and the API. Unicode emoji pasted directly also work; the API converts them to the colon form.
API-only mrkdwn
Escaping & < > in API text
Tom & Jerry: 3 < 5 > 1Because the API uses < > for links and mentions, these three characters must be sent as & < >. Only escape those three, not the whole message.
Localised dates
<!date^1760486400^{date_short} at {time}|Oct 15 2026 at 00:00 UTC>Renders the timestamp in each reader's timezone; the text after | is the fallback. Tokens include {date_num}, {date_short}, {date_long}, {time}, {time_secs} and {ago}.
Slack mrkdwn vs standard markdown
| Feature | Slack | Standard / GFM |
|---|---|---|
| Bold | *text* | **text** |
| Italic | _text_ | *text* or _text_ |
| Strikethrough | ~text~ | ~~text~~ (GFM) |
| Underline | Toolbar / Cmd+U only | No syntax (HTML <u>) |
| Inline code | `text` | `text` |
| Code block | ``` (no language tag) | ```lang with highlighting |
| Block quote | > text | > text |
| Link | [text](url) in markup mode; <url|text> in the API | [text](url) |
| Lists | Auto-format on * or 1. + space; none in API | - item, 1. item |
| Headings | No | # through ###### |
| Tables | No | Yes (GFM) |
| Images  | No (upload the file) | Yes |
| Task lists | No (use Slack Lists) | - [ ] item (GFM) |
| Horizontal rule | No | --- |
| Emoji :shortcode: | Yes | GitHub only |
Have a markdown document to post? The markdown to Slack converter swaps the bold, italic and strikethrough markers and flattens what Slack cannot show. The markdown flavors comparison puts Slack next to Discord, Notion, Reddit and GitHub.
Tables in Slack
A Markdown table pasted into a Slack message arrives as lines of pipes and dashes. Slack's formatting help lists bold, italic, underline, strikethrough, code, block quote, code block and ordered and bulleted lists as the options for messages; neither it nor the markup page has a table. Four ways around it:
- Code block. Pad the columns with spaces and wrap the grid in ```; the monospace font keeps the columns aligned. Fine for a few rows.
- Canvas. A canvas has real tables ("Create a table" in its toolbar) plus headings and checklists; share it in the channel.
- Block Kit table block. Apps and bots can post a structured table since Slack added the table block on 14 August 2025. Not available from the message composer.
- Link to the rendered table. Paste the Markdown into the editor and share the link; readers see a real table.
Step-by-step with examples: How do you make a table in Discord or Slack? Build the Markdown first with the table generator.
How do you make a table in Slack?
Messages have no table formatting: Slack's help lists bold, italic, underline, strikethrough, code, block quote, code block and ordered and bulleted lists as the toolbar options, and the markup page adds links. The workarounds are a space-aligned grid inside a code block, a canvas (its toolbar has "Create a table"), a Block Kit table block if an app posts the message (added 14 August 2025), or a link to the rendered table.
Why does pasted markdown break in Slack?
Because Slack's mrkdwn uses different characters for the basics: *single asterisks* are bold (so **double asterisks** arrive as a bold word wrapped in stray asterisks), _underscores_ are italic, and ~single tildes~ strike through while ~~double tildes~~ show literally. Headings, tables, images, horizontal rules and task lists have no Slack equivalent at all, so a pasted README degrades to plain text with its # and | characters showing.
Does Slack support markdown links like [text](url)?
In the message composer, yes, but only when "Format messages with markup" is enabled in Preferences > Advanced; Slack's markup help page lists [your text](the link) as the link syntax. With the default formatting toolbar you paste a URL or use the link button. In the API (chat.postMessage, Block Kit mrkdwn text) the [text](url) form is not supported: write <https://example.com|shown text> instead.
How do you turn on markup formatting in Slack?
Click your profile picture, open Preferences, choose Advanced, and under Input Options check "Format messages with markup". This hides the formatting toolbar; formatting is then applied after you send, pasted text stays plain, and automatic list formatting is turned off.
How do you share real markdown through Slack?
Three options keep formatting intact: create a text snippet (the + menu, "Create a text snippet", type Markdown), which renders when expanded; share the document as a link, so the full doc renders with code highlighting and tables; or convert it to PDF and upload the file.
Is mrkdwn the same in the Slack API?
The characters are the same (*bold*, _italic_, ~strike~, `code`, ``` blocks, > quotes) but the API is stricter. Links must be written as <url|text>, mentions as <@USER_ID> and <#CHANNEL_ID>, special mentions as <!here> / <!channel>, and the three characters &, < and > must be HTML-escaped as &, < and > in the text you send. Block Kit text objects take "type": "mrkdwn" with the same rules, and there is no list syntax at all in app-published text.
Related
Full markdown cheat sheet · Discord formatting · Telegram formatting · WhatsApp formatting · Markdown to Slack converter · Markdown to PDF · Share markdown as a link · Underline guide