Discord uses a flavor of Markdown for formatting text in messages. Here’s a cheat sheet for Discord Markdown:
Text Formatting
- Bold Text:
**bold text**
or__bold text__
- Italic Text:
*italic text*
or_italic text_
- Underline Text:
__underlined text__
- Strikethrough Text:
~~strikethrough text~~
Headers
- H1 Header:
# Header 1
- H2 Header:
## Header 2
- H3 Header:
### Header 3
Quotes
- Quote:
> Quoted text
Code Blocks
- Inline Code:
`inline code`
- Multiline Code Block:
- Triple backticks (“`)
Your multiline
code block
Lists
- Unordered List:
* Item 1
,* Item 2
- Ordered List:
1. Item 1
,2. Item 2
Links
- Hyperlink:
[text](http://example.com)
- Inline URL:
<http://example.com>
Mentions
- Mention a User:
@username
- Mention a Role:
@role
Emojis
- Custom Emoji:
:custom_emoji:
- Unicode Emoji:
- 😀, 😎, 🎉 (Unicode emojis can be directly used)
Spoilers
- Spoiler Tag:
||spoiler||
Line Breaks
- Line Break:
- End a line with two spaces to create a line break.
Miscellaneous
- Timestamps:
<t:timestamp:R>
(e.g.,<t:1623107767:R>
for a relative timestamp)
- Nickname Mention:
@!nickname
- Color Highlight:
- Wrap text with `css\nyour text` to highlight it in color.
Remember that Discord Markdown features may vary based on the specific Discord server’s settings. This cheat sheet covers the basic Markdown syntax commonly used in Discord messages. Feel free to combine formatting elements for more complex messages.