How to Format Text as Code in Discord?

Discord code formatting markdown syntax is a great way to express your ideas through code in Discord. By adding marks and lines to the text or images, you can create your own visual language for readers and programmers to understand.

discord text formatting

By veasmanveasman on Mar 22, 2021
// Italics
*This text is italicized*

// Bold
**This text is bold**

// Underline
__This text is underlined__

// Strikethrough
~~This text has a line through it~~

// Indentation (not really sure what else to call this one)
> This text is indented

// Spoiler
||This text is a spoiler||

// Single line code block
`This is a single line code block`

// Multi-line code block
```<lang>
std::cout<<"This is a multi-line code block\n";
```

Add Comment

7

format code discord

By TL;DRTL;DR on Jan 04, 2021
```my language
my code
```

Add Comment

10

css discord color guide

By Enchanting EagleEnchanting Eagle on Sep 05, 2020
Default: #839496
```
NoKeyWordsHere
```

Quote: #586e75
```brainfuck
NoKeyWordsHere
```

Solarized Green: #859900
```CSS
NoKeyWordsHere
```

Solarized Cyan: #2aa198
```yaml
NoKeyWordsHere
```

Solarized Blue: #268bd2
```md
NoKeyWordsHere
```

Solarized Yellow: #b58900
```fix
NoKeyWordsHere
```

Solarized Orange: #cb4b16
```glsl
NoKeyWordsHere
```

Solarized Red: #dc322f
```diff
-NoKeyWordsHere
```

Source: www.reddit.com

Add Comment

2

css discord color guide

By Enchanting EagleEnchanting Eagle on Sep 05, 2020
And here is the escaped

Default: #839496
```
This is a for statement
```

Quote: #586e75
```bash
#This is a for statement
```

Solarized Green: #859900
```diff
+ This is a for statement
```
//Second Way to do it
```diff
! This is a for statement
```

Solarized Cyan: #2aa198
```cs
"This is a for statement"
```
```cs
'This is a for statement'
```

Solarized Blue: #268bd2
```ini
[This is a for statement]
```
//Second Way to do it
```asciidoc
= This is a for statement =
```

Solarized Yellow: #b58900
```autohotkey
%This is a for statement%
```

Solarized Orange: #cb4b16
```css
[This is a for statement]
```

Solarized Red: #dc322f
```diff
- This is a for statement
```

Source: www.reddit.com

Add Comment

1

In Discord, one of the most useful features is a syntax highlighting that helps you in programming.

C answers related to "discord text formatting"

View All C queries

C queries related to "discord text formatting"

Browse Other Code Languages

CodeProZone