discord's markup is evolving over time.
first markup version contained these styles:
**bold***italics* or _italics_`inline code`~~crossed text~~__underline__where all can be combined (you can use for example __~~**bold, crossed out and underlined**~~__ )
later they added new elements:
```language
code blocks
```
to choose programming language display/style type just type language name instead of "language", for example html , js , ruby , python, fix, or even ansi output - bullets (converts to dot after sending message)1. bullets (if a line starts with number. it is not selectable and is treated like ordered list)and also few other chat features:
#channel - linking to a channel@user - mentioning user<url> - removing embed from sent url:emoji:/command - custom bot usage and few prebuilt commands, explaining in section below<#channel_id> - mentioning channels by id (works also with audio channels and stages)<@user_id> - mentioning person by id[text](url) - replacing url with text in chat||text|| - spoilering text/@user - getting user id/#channel - getting channel id/character - escape characters (for example to show other users how to use discord markup)all builtin /commands :
/wordle - opens view to play global, builtin wordle game/unflip - sends ┬─┬ノ( º _ ºノ) kaomoji as message/tableflip - sends (╯°□°)╯︵ ┻━┻ kaomoji as message/shrug - sends ¯\_(ツ)_/¯ kaomoji as message/gif or /tenor - searches for gifs online/sticker - search stickers/me - sends text as italicized/spoiler - sends text as hidden/nick - changes your nick in a server/thread - start a thread/msg - send PM to someone
let's get back to that code block thingy, ansi codes
so if you make a code block with "ansi" instead of coding language you are able to FULLY FORMAT your message to you needs.
it includes:
- normal markup (bold, italic, underline, etc…)
- and additionally full control over displayed colors (both background and foreground).
currently (as far i manually tested that feature) it supports:
- basic 8 (or 16 if counting background separately) terminal colors - all of them altered. list of all colors currently supported, with hex codes:
- 30 (fg, 0) - #4F505A (officially - black)
- 31 (fg, 1) - #DC322F (officially - red)
- 32 - #859901 (officially - green)
- 33 - #B58900 (officially - yellow)
- 34 - #268BD2 (officially - blue)
- 35 - #D33682 (officially - magenta)
- 36 - #2AA198 (officially - cyan)
- 37 - #E3E3E6 (officially - white)
- 40 (bg, 0) - #002B36 (officially - black)
- 41 (bg, 1) - #CB4B16 (officially - red)
- 42 - #586E75 (officially - green)
- 43 - #657B83 (officially - yellow)
- 44 - #839496 (officially - blue)
- 45 - #6C71C4 (officially - magenta)
- 46 - #93A1A1 (officially - cyan)
- 47 - #FDF6E3 (officially - white)
- and few text types (currently bold and underline) :
- 1 - bold
- 4 - underline
you can color text in format:
[;;m [0m
and an example (for clarifying):
[1;31;43m bold red text on yellow background [0m
ofc not all parameters need to be :)
sed commands:
you can replace first occurence of a word in message with:
s/text_to_find/text_to_replace
or replace all occurences of a word in message with:
s/text_to_find/text_to_replace/g
it is NOT a slashcommand.