The Complete Guide to Discord Text Formatting, Syntax Highlighting, and Tricks for Adding Colors
Text formatting in Discord is sexy! Let me spoon-feed you my man.
The Complete Guide to Discord Text Formatting, Syntax Highlighting, and Tricks for Adding Colors
Articles in Other Websites | By August R. Garcia
Published | Last Update
Text formatting in Discord is sexy! Let me spoon-feed you my man.
11,722 views, 1 RAM, and 3 comments
If you go on Discord, your messages will probably look generic relative to everyon else, who is probably more skilled than you.
Discord Uses Markdown
If you have used Markdown in the past, then Discord’s text formatting should be very straightforward. Various other websites, including Reddit and Github, use Markdown formatting. While there is no official standard for everything that can be done in Markdown, the concepts are very similar between platforms.
Basic Formatting: Bold, Italics, Underline, and Strikethrough
As they say, text formatting in Discord is sexy! Let me spoon-feed you my man:
Italics *italics* or _italics_
Bold **bold**
Bold Italics ***bold italics***
Underline __underline__
Underline italics __*underline italics*__
Underline bold __**underline bold**__
Underline bold italics __***underline bold italics***__
Strikethrough ~~Strikethrough~~
Spoiler Text || Spoiler Text ||
Source: https://support.discordapp.com/hc/en-us/articles/210298617-Markdown-Text-101
This syntax is fairly standard for sites that use Markdown.
Escape Characters
If you want to write text that isn’t rendered by Discord, then you can use the backslash (\) as an escape character. This is fairly self explanatory. While *this* would normally be italic, \*this\* will render as the literal text “this” with no text styling.
Code Blocks
Discord supports both mutl-line and single-line code blocks using the backtick character:
`This is a single line code block`
```This is a
multi-line code block```
These allow for text to be preformatted and displayed using monospace characters.
Discord Uses Highlight.js
On top of Markdown, Discord also provides syntax highlighting via a JavaScript library called highlight.js. Specifically, Discord uses the solarized Dark theme. If you want in-depth information about how exactly the syntax highlighting works, you can look into Highlight.js, since it is the exact library used by Discord.
Basic Syntax Highlighting
To use coloring, first consider what syntax highlighting even is. In programming languages, there are various keywords and symbols that mean particular things. These are generally highlighted in different colors. The code blocks in Discord are technically meant for coloring code, but they can also be used to make arbitrary colors.
When using the triple backticks to create multi-line code blocks, you can also specify what (programming/computer) language to use for the syntax highlighting using the following syntax:
```language_name
Here is some text.
Here is more text.```
Coloring in Discord
The colors used in Discord are done using what are essentially hacks/exploits of the basic Highlight.js library.
Specifying the language as diff, fix, css, bash, ini, json, apache, and other languages allows for some coloration tricks. For example, orange and yellow-green text are both easily able to be rendered. Cyan/light-blue can also be done relatively easily.
Orange/Orange-Yellow
```fix
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.```
Green/Yellow-Green
```css
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.```
Cyan/Light-Blue
```bash
"Lorem Ipsum is simply dummy text
of the printing and typesetting industry."```
Other Colors
Other colors are also possible if you’re willing to do things like wrap your text in brackets or only use underscores instead of spaces. If you mess around with Discord, you can probably turn up some other options, like the ones shown in this wiki or in this blog post.
Markdown Within Code Blocks
You can use the abbreviation “md” to render a code block that uses markdown. This will both keep in the literal characters while also applying the styles. For example *this* will be bold and the asterisks will still be shown.
```md
# Lorum Ipsum
Lorem Ipsum is *simply dummy text*
of the printing **and** typesetting industry.```








Hash Brown (1 year ago) 🐏 ⨉ 1Posted by August R. Garcia 2 years ago
Edit History
• [2019-03-06 11:24 PST] August R. Garcia (2 years ago)• [2019-03-06 11:24 PST] August R. Garcia (2 years ago)
• [2019-03-06 11:24 PST] August R. Garcia (2 years ago)
• [2019-03-06 11:24 PST] August R. Garcia (2 years ago)
• [2019-03-06 11:24 PST] August R. Garcia (2 years ago)
🕓 Posted at 06 March, 2019 11:24 AM PST
- C U 7 Internet Marketing/SEO Tricks from the Slack Chat
- C U [Video] 28+ Methods to Make Money Online: The Ultimate Tier List from S-Tier through F-Tier
- C U Why Go to College? | Top 5 Educational Resources on the Internet
- C U [Infographic] The Top 11 Reddit Clones and Alternatives
- C U The Best SEO and Internet Marketing Forums
- C U 5 Tasks You Didn't Know Could be Done from the Developer Console
- C U 5 Reasons Why For-Profit Online Universities Are a Total Scam
- C U Introduction to Dissenter | The Internet-Wide Commenting Platform
- C U What is the Wayback Machine? | How the Internet Archive uses Web Crawlers to Preserve Internet History
- C U The Complete Guide to Discord Text Formatting, Syntax Highlighting, and Tricks for Adding Colors
August Garcia is some guy who used to sell Viagra on the Internet. He made this website to LARP as a sysadmin while posting about garbage like user-agent spoofing, spintax, the only good keyboard, virtual assitants from Pakistan, links with the rel="nofollow" attribute, proxies, sin, the developer console, literally every link building method, and other junk.
Available at arg@256kilobytes.com, via Twitter, or arg.256kilobytes.com. Open to business inquiries based on availability.
Wow, very nice information as I was looking to few of my Discord friends sending a text with colours and playing with the text.
But I was unaware of doing such things by using the code on Discord. The last article I read was on fixing
Discord no routewhich was also a great help to fix my issues on DiscordNice article
Keep it up Mr Mattham
Mod Edit: Spam link removed.
Edit History
• [2020-03-03 2:51 PST] Samantha Ogara (1 year ago)🕓 Posted at 03 March, 2020 02:51 AM PST
Samantha Ogara
Thanks for sharing this post.
buy backlinksMod Edit: Spam link removed.
Edit History
• [2020-03-09 3:47 PDT] webeasylinks (11 months ago)🕓 Posted at 09 March, 2020 03:47 AM PDT
Mod Edit: Spam content removed.
Edit History
• [2020-06-05 20:08 PDT] Durai Jeeva (9 months ago)🕓 Posted at 05 June, 2020 20:08 PM PDT
Post a New Comment
To leave a comment, login to your account or create an account.
Do you like having a good time?
Register an Account
You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.
Read Quality Articles
Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.
View Articles →
Argue with People on the Internet
Use your account to explain why people are wrong on the Internet forum.
View Forum →
Vandalize the Wiki
Or don't. I'm not your dad.
View Wiki →
Ask and/or Answer Questions
If someone asks a terrible question, post a LMGTFY link.
View Answers →
Make Some Money
Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.