Markdown 101
INFO
This is a mirror of the Markdown Text 101 from matthewzring.
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
Text Formatting
Italics *italics* or _italics_
Underline italics __*underline italics*__
Bold **bold**
Underline bold __**underline bold**__
Bold Italics ***bold italics***
underline bold italics __***underline bold italics***__
Underline __underline__
Strikethrough ~~Strikethrough~~
Don't want to use markdown? You can slap a backslash in front of your statement, or put your message in a code block, and it'll escape the markdown formatting. You'll see those asterisks as you'd like!
Organizational Text Formatting
Headers
To create a header, you need to include a specific number of the hash/pound sign character (#). Use (#) for a big header, (##) for a smaller header, or (###) for an even smaller header as the first character(s) in a new line.
Subtext
Like Headers, you can add subtext to any chat message. To do so, add a (-# ) before the text you want to appear in the subtext. Don’t forget the space after # and before your message.
Masked Links
You can use masked links to make text a clickable or pressable hyperlink. To do so, you need to include the text you want displayed in brackets and then the URL in parentheses. For example:
If you don't wish to embed a link, you can wrap the link with <>
to remove the embed for that specific link.
Unordered Lists
You can create a bulleted list using either (-) or (*) in the beginning of each line. You can indent your list by adding a space before (-) or (*) at the beginning of each line.
Ordered Lists
To create an ordered list, add line items with numbers followed by periods. The numbers don't have to be in numerical order, but the list will always start with the first number. You can indent your list by adding a space before the number at the beginning of each line.
Code Blocks
Discord also supports code blocks as well. You can make your own code blocks by wrapping your text in backticks (`)
You can also use three backticks (```) to create multiline code blocks, like this beautifully written haiku.
Block Quotes
The syntax to use Block Quotes is > or >>> followed by a space.
> at the beginning of a line of text, creates a single-line block quote.
>>> at the beginning of a line of text, creates a multi-line block quote. All text from >>>
until the end of the message will be included in the quote.
Spoiler Tags
You can manually tag spoilers by using the syntax ||
around your text or by typing /spoiler
before your message. This is also negated by a code block.
Syntax Highlighting
If you really want to spruce up your code blocks, you can denote a specific language for syntax highlighting, by typing the name of the language you want the code block to expect right after the first three backticks beginning your code block. An example...
There are many different languages in place of Markdown that Discord's syntax highlighting support. Each different language has its own approach to highlight-able syntax. Note that you won't be able to view syntax highlighting on the mobile app.
asciidoc
autohotkey
bash
coffeescript
cpp (C++)
cs (C#)
css
diff
fix
glsl
ini
json
md (markdown)
ml
prolog
ps
py
tex
xl
xml
yaml
And you get the idea! Now you're a Discord text markdown expert. Get out there and highlight your statements!