Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A guide to Markdown on Discord.

Markdown Text 101

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...

Sweet Styles

Italics *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~~

Before: Spoilers! Hidden After Clicked: Spoilers! Visable ||Spoilers!||

Don't want to use markdown? You can slap a backslash in front of your statement, and it'll escape the markdown formatting. You'll see those asterisks as you'd like! Just keep in mind, it doesn't work in messages with edits or underscores.

Code Blocks

Discord also supports code blocks as well. You can make your own code blocks by wrapping your text in backticks (`)

one line code blocks

You can also use three backticks (```) to create multiline code blocks, like this beautifully written haiku.

multiline code blocks

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...

syntax highlighting

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. In Markdown, you can see that here:

asciidoc

asciidoc

autohotkey

autohotkey

bash

bash

coffeescript

coffeescript

cpp

cpp

cs

cs

css

css

diff

diff

fix

fix

glsl

glsl

html

html

ini

ini

json

json

md

md

ml

ml

prolog

prolog

py

py

tex

tex

xl

xl

xml

xml

And you get the idea! Now you're a Discord text markdown expert. Get out there and highlight your statements!

@Avokadoen

This comment has been minimized.

Copy link

Avokadoen commented Feb 21, 2019

Great quick guide, thank you!

@Ryonez

This comment has been minimized.

Copy link
Owner Author

Ryonez commented Jun 10, 2019

Thank the original creator, this is an unedited fork bud.

@Ryonez

This comment has been minimized.

Copy link
Owner Author

Ryonez commented Jul 3, 2019

Added spoilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.