code formatting discord 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
```