Discord uses a lightweight version of Markdown—a plain-text formatting syntax—alongside a few platform-specific tricks to turn walls of text into readable, structured messages. Whether you are drafting server rules, sharing code snippets, or hiding plot twists, mastering Discord’s formatting lets you control exactly how your messages look.
Core Text Styling
At its simplest, Discord formatting relies on wrapping your text in specific punctuation marks. On desktop, highlighting text also brings up a floating toolbar with quick-click buttons for these styles, though typing the symbols directly is much faster once you build muscle memory.
| Style | Syntax | Result |
|---|---|---|
| Italics | *text* or _text_ |
text |
| Bold | **text** |
text |
| Bold Italics | ***text*** |
text |
| Underline | __text__ |
text |
| Strikethrough | ~~text~~ |
~~text~~ |
| Spoiler | ||text|| |
Hidden behind a dark box until clicked |
You can stack these symbols to combine effects. For example, wrapping text in __***text***__ produces underlined, bolded, and italicized text all at once. Just make sure you close the symbols in the reverse order you opened them.
Structural Formatting: Headers, Lists, and Quotes
When writing server announcements, patch notes, or onboarding guides, basic bold and italics aren’t enough to create visual hierarchy. Discord supports structural Markdown elements to organize longer posts.
Headers and Subtext
You can create three tiers of headings by starting a new line with hashtags followed by a space. Conversely, starting a line with -# shrinks the text into muted, gray subtext—ideal for footnotes, disclaimers, or image captions.
# Large Header— Big, bold title text.## Medium Header— Section headings.### Small Header— Sub-headings.-# Subtext— Small, low-contrast fine print.
Lists
Bulleted lists are created by starting a line with a hyphen (- ) or an asterisk (* ). For numbered lists, type 1. followed by your text. To create nested sub-items, add two spaces before the hyphen or number on the next line.
Block Quotes
To highlight a quote or call attention to a specific rule, start a line with a right-pointing angle bracket (> ).
- Single-line quote:
> This text is indented with a vertical bar. - Multi-line quote: Start a paragraph with
>>>and everything that follows—across multiple line breaks—will remain inside the quote block until you hit Send.
Code Blocks and Syntax Highlighting
Sharing code, error logs, or exact commands in standard chat often breaks formatting or triggers accidental Markdown styling. Code blocks prevent Discord from rendering symbols and display text in a clean, monospaced font.
- Inline code: Wrap a word or short phrase in single backticks (
`like this`) to highlight it within a normal sentence. - Multi-line code blocks: Wrap an entire paragraph or script in triple backticks (
```).
To add color-coded syntax highlighting to a multi-line code block, type the language’s abbreviation immediately after the opening three backticks, then press Shift+Enter to start your code on the next line:
```python
def greet(user):
return f"Welcome to the server, {user}!"
```
Discord supports dozens of languages, including js, html, css, cpp, json, and bash.
Pro Tip: Even if you aren’t writing code, you can use
ansias the language tag and insert ANSI escape codes to create genuinely colored text inside code blocks—a favorite trick among server owners designing custom status panels.
Masked Links
Long URLs can clutter a clean announcement. Discord lets you embed hyperlinks directly into normal text—known as masked links—using brackets and parentheses:
[Check out the server rules](https://example.com)
For security, Discord displays a pop-up confirmation showing the full destination URL whenever someone clicks a masked link. If you want to post a standard link without triggering Discord’s automatic website preview embed, simply wrap the URL in angle brackets: <https://example.com>.
Dynamic Timestamps
If you run an international community, coordinating event times across time zones is a constant headache. Discord solves this with Unix timestamps, which automatically convert a specific moment in time into each viewer’s local time zone.
The format follows the pattern <t:UNIX_TIMESTAMP:FLAG>. For example, <t:1795950000:F> renders as a full date and time tailored to whoever is reading the message. You can swap out the final letter (FLAG) to change how the date displays:
:t— Short time (11:11 AM):T— Long time with seconds (11:11:00 AM):d— Short date (11/29/2026):D— Long date (November 29, 2026):f— Short date and time (November 29, 2026 11:11 AM):F— Full date, day of the week, and time (Sunday, November 29, 2026 11:11 AM):R— Relative countdown (in 2 hoursor3 days ago)
Escaping Formatting
Sometimes you actually want to type *shrugs* or || without Discord turning it into italics or a spoiler tag. To bypass formatting, place a backslash () directly in front of the symbol. Typing *not italicized* forces Discord to display the asterisks literally. (Note that backslashes do not work inside code blocks, since code blocks already ignore all formatting automatically.)
Leave a Reply