NanoFile

Discord markdown

Discord uses its own dialect of markdown. Most of it matches what you already know, with a handful of additions and a longer list of omissions.

What works
**bold**
*italic*
__underline__
~~strikethrough~~
***bold italic***
`inline code`
> a quote
# Heading 1
## Heading 2
### Heading 3
- a bullet
1. a numbered item
[a link](https://example.com)

bold italic underline strikethrough bold italic inline code

a quote

Heading 1

Heading 2

Heading 3

  • a bullet
  1. a numbered item a link
Discord's own
||spoiler text||

-# small text

```ts
const highlighted = true;
```

||spoiler text||

-# small text

const highlighted = true;

What usually goes wrong

  • __text__ is underline here, not bold. This is the difference that catches people moving between Discord and GitHub.
  • Only three heading levels. A fourth hash renders as text.
  • No tables, no task lists, no images from markdown. Images are uploads or links that Discord unfurls itself.
  • A hash without a space after it makes a channel mention, not a heading.

Related