[Markdown] How you do you use markdown text on Discord?
Tags: languages, markdown
Published: 2021-06-27 19:51:57

You want to be cool on Discord and show of your friends with the ability to use the one and only Markdown text.
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...

## Text Styles

`*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! Just keep in mind, it doesn't work in messages with edits or underscores.

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

![block quotes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j6t8asuuhb5ag0dp28ek.png)

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

![multi block quotes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/80716a4y15o9ifudl51j.png)
## 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](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6v0mo79br4l0dfkxl8q2.png)

You can also use three backticks (\`\`\`) to create multiline code blocks.

![multiline code blocks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dtr53st2bkycgl1ah2gf.png)

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

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0sxn58ep016ufs7qri40.png)

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. For a full list: https://highlightjs.org/static/demo/. Note that you won't be able to view syntax highlighting on the mobile app.

**CSS**
![css](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0sxn58ep016ufs7qri40.png)

**HTML**
![html](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d02c0gc0g1p7kon1zdw8.png)

**Bash (bash)**
![bash](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vgygi2q0fe7uhzrk1hoe.png)

**C++ (cpp)**
![cpp](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9aqv0674wskjc40p9wux.png)

**C# (cs)**
![cs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yiz1fcjc3vc365dvajku.png)

**Markdown (md)**
![md](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hr27y809y21snsshgbrg.png)

**Diff (diff)**
![diff](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/62gp65vzemf8ickqyyk9.png)

**Javascript (js)**
![js](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qqu6subgrkljqycv2f3k.png)

**Python (py)**
![py](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ouocfg8ynvengvcaygep.png)

**Shell Session**
![shell](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eq1yn2p6ejujoyf8n9af.png)

**SQL**
![sql](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hzjufymx2agsvuojgrhk.png)

**Java**
![java](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ptn9ssfgt7s847mibvjs.png)

**JSON**
![json](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z26ml4jeug7o3jlucsi2.png)

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

## Acknowledgements

[Hammer and Chisel](https://support.discordapp.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-)  
[Discord Highlight.js](https://discord.gg/SkZTwPk)


## Credits 
{% github https://github.com/Yuma-Tsushima07/Yuma-Tsushima07 %}

### Follow me!
* Github: https://github.com/Yuma-Tsushima07
* Medium: https://0xv37r1x3r.medium.com/
* SoundCloud: https://soundcloud.com/0c7av3h4ck5

### Discord Servers!!
**Bounty Hunters**: An amazing bug hunting community full of developers and exploiters!!!
* Link: https://discord.gg/J5PsgKqdWq

**CyberArtByte**: My server full of bling and joy!!
* Link: https://discord.com/invite/mNAWykv67W

### New Soundcloud Track!!

{% soundcloud https://soundcloud.com/0c7av3h4ck5/hack-with-your-heart-0c7av3h4ck5 %}

Author: Yuma-Tsushima