Discord formatting codes
Discord reads a small set of symbols called markdown. You type them around your words, send the message, and Discord turns them into bold, italic and so on. These are the ones worth knowing.
| You type | You get |
|---|---|
| **bold** | bold |
| *italic* or _italic_ | italic |
| ***bold italic*** | bold italic |
| __underline__ | underlined text |
| ~~strikethrough~~ | crossed-out text |
| ||spoiler|| | a dark box that hides the text until clicked |
| `code` | text in a grey code box |
| > quote | an indented quote line |
| # Heading | a large heading (## and ### make it smaller) |
| -# small text | small, grey subtext |
You can combine them. __**bold and underlined**__ works, and so does ||**a bold spoiler**||.
How to make a code block in Discord
Put three backticks on their own line, type your text, then close it with three more backticks on another line. On a US keyboard the backtick key sits just above Tab. Add a language name right after the first three backticks, such as python or css, and Discord will colour the code to match.
Lists and line breaks
Start a line with a dash and a space, - like this, to get a bullet list. Number lists work with 1. at the start of each line. To start a new line in a message without sending it, press Shift and Enter.
When markdown won't work
Markdown only works in messages. It does nothing in your display name, server nickname, status or channel names, and that's where Unicode text comes in: use the generator at the top of this page to turn your name into 𝔤𝔬𝔱𝔥𝔦𝔠, 𝕠𝕦𝕥𝕝𝕚𝕟𝕖 or 𝚖𝚘𝚗𝚘 letters and paste it in. It works inside messages too, whenever you want a style Discord has no code for.
If you only need styled names, the Discord fonts page is built for that, and gaming name styles adds frames and symbols.
If a code shows up as plain symbols
If you're seeing the asterisks instead of bold text, check there's no space between the symbols and your words (** bold ** won't work, but **bold** will), and make sure you're in a message box rather than a name field. Inside a code block, formatting is switched off on purpose, so stars and underscores stay exactly as typed.