Markdown in Slack and Discord: what works in each
Slack and Discord both read Markdown-like syntax, but not the same one. Bold, links, code, quotes and headings in each app, with a conversion table.

Discord uses something close to standard Markdown: **bold**, *italic*, ~~strikethrough~~, # headings, [text](url) links and fenced code blocks with syntax highlighting all work in a message. Slack uses its own markup instead: single asterisks for bold (*bold*), underscores for italic, a single tilde for strikethrough, and no headings or tables. Slack also formats with a toolbar by default, so typed markup only applies after you turn on Format messages with markup in Preferences, under Advanced.
That difference is why a note pasted from a Markdown file looks right in one app and full of stray asterisks in the other. Below is what each app supports as of November 2026, a side-by-side table, and how to adapt a Markdown draft for each.
How do Slack and Discord formatting compare?
The quickest way to see the gap is one table. "Standard" here means CommonMark plus the GitHub extensions most Markdown editors use.
| Format | Standard Markdown | Slack (markup on) | Discord |
|---|---|---|---|
| Bold | **bold** |
*bold* |
**bold** |
| Italic | *italic* or _italic_ |
_italic_ |
*italic* or _italic_ |
| Strikethrough | ~~text~~ |
~text~ |
~~text~~ |
| Underline | none | toolbar only | __underline__ |
| Inline code | `code` |
`code` |
`code` |
| Code block | ```js fences |
``` fences, no highlighting |
```js fences, highlighted |
| Quote | > text |
> text |
> text, or >>> for the rest of the message |
| Link | [text](url) |
[text](url) |
[text](url) |
| Headings | # to ###### |
none in messages | #, ##, ### |
| Lists | - or 1. |
* or 1. then a space, toolbar mode |
- or 1. |
| Tables | pipe tables | none | none |
| Spoiler | none | none | text between double vertical bars |
The two traps are bold and italic. In Slack, *text* is bold, while in standard Markdown and Discord it is italic. And __text__ is bold in standard Markdown but underline in Discord.
How does formatting work in Slack?
Slack gives you two ways to format a message: the formatting toolbar, which is the default, and typed markup, which you switch on in your preferences.
To type markup, open Preferences, select Advanced and check Format messages with markup under Input Options. Slack's help article Format your messages in Slack with markup (checked November 2026) lists the syntax:
*bold*
_italic_
~strikethrough~
`inline code`
```code block```
> quoted line
[link text](https://example.com)
A few things to know about Slack:
- No headings. A line starting with
#is posted as plain text. Use a bold line instead. - No tables. Put tabular data in a code block so the columns line up, or attach a file.
- No syntax highlighting. Code blocks are monospaced, but the language name after the fence is not used for colors.
- Lists depend on the mode. With the toolbar on, typing
*or1.followed by a space starts a list. Slack notes that this automatic list formatting is not applied when markup is on. - Line breaks. Enter sends the message by default; Shift+Enter adds a new line. You can swap this in Slack's Enter key preference.
What is Slack mrkdwn?
Mrkdwn is the markup Slack's API uses when an app or bot posts a message, for example through an incoming webhook or a "type": "mrkdwn" text object in Block Kit. It follows the same single-character rules as the composer, with a different link and mention syntax:
*Deploy finished* for _api-server_
<https://example.com/builds/812|Build 812> by <@U012AB3CD>
Links are written <url|text>, user mentions <@USER_ID>, and the characters &, < and > must be escaped as &, < and > in message text. If you are writing a bot that turns Markdown into a Slack message, convert links and bold explicitly rather than passing Markdown through.
How does formatting work in Discord?
Discord reads Markdown as you type, with no setting to turn on. Most of the syntax matches what a Markdown editor uses, plus a few Discord additions:
# Release 2.1 is out
## What changed
- **Faster sync** on large servers
- Fixed a crash when ~~deleting~~ renaming channels
-# Posted by the release bot
> Upgrade notes are in the pinned message.
```js
const client = new Client({ intents: [] });
```
[Full changelog](https://example.com/changelog)
||The next release adds voice notes.||
What to know about Discord:
- Headings go up to three levels.
#,##and###, each followed by a space at the start of a line.-#makes small grey subtext. - Masked links.
[text](url)shows the text instead of the address. - Code highlighting. Put a language name after the opening fence, such as
js,pyordiff. - Multi-line quotes.
>>>at the start quotes everything after it in that message. - Spoilers.
||text||hides text until someone clicks it. - Escaping. A backslash before a character, as in
\*not italic\*, shows it literally. The escape characters page lists the characters that need it in standard Markdown.
Webhook and bot messages use the same syntax in their content field, so a Markdown string can usually be posted as it is.
How do you adapt a Markdown draft for Slack?
Adapt a Markdown draft for Slack by changing emphasis and removing structure Slack cannot show. Do it in this order, because converting bold first would turn your italics into bold:
- Change italics from
*text*to_text_. - Change bold from
**text**to*text*. - Change
~~text~~to~text~. - Replace each
#heading with a bold line. - Move any table into a code block or a short list.
- Remove the language name after code fences, or leave it; Slack ignores it.
For Discord, most drafts paste as they are. Check three things: tables (turn them into lists or a code block), headings deeper than ### (change them to ### or bold), and any __text__ you meant as bold, which Discord shows underlined.
What else works in both apps?
A few features are not Markdown at all but sit next to it in both apps, and they are often what makes a message readable:
- Emoji shortcodes. Both turn
:tada:or:white_check_mark:into emoji as you type. - Mentions. Type
@and pick a person from the list, so the mention links to their account instead of staying plain text. - Dynamic timestamps in Discord.
<t:1764115200:F>shows a full date and<t:1764115200:R>a relative time such as "in 2 hours", each in the reader's own time zone. The number is a Unix timestamp in seconds. This is a clean way to announce an event to people in several countries. - Message length. Long messages are harder to scan in a chat than on a page. If an announcement needs headings and a table, post a short summary and link to the full document.
Should long announcements live in a Markdown file?
Yes, if they are announcements you will reuse or update. Writing a release note, an incident summary or an onboarding message as a .md file means you keep the original, can edit it later, and can post it to Discord, Slack, a changelog and an email with small changes each time.
A simple folder for this:
announcements/
2026-11-20-release-2.1.md
2026-11-24-incident-api-latency.md
templates/
release.md
incident.md
Write the file in standard Markdown, which is the most portable version, and adapt it per channel using the steps above. The text formatting and code blocks pages cover the standard syntax.
Drafting messages in Noteline
Noteline, which we make, is a Markdown editor, so drafts are saved as plain .md files in standard Markdown. Markdown Source (Cmd+Shift+M on a Mac, Ctrl+Shift+M on Windows and Linux) switches from the formatted view to the exact characters you will paste, which is the view to check before posting to Slack, since its markup differs. Code blocks get syntax highlighting while you write, as they will in Discord. Noteline does not post to Slack or Discord or convert between their syntaxes; you copy the text and adjust it as described above.