discord code formatting code example

Example 1: discord text formatting

// 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";
```

Example 2: format code discord

```my language
my code
```

Example 3: css discord color guide

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

Example 4: css discord color guide

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

Tags:

Css Example