Text formatting is similar to a subset of Markdown, although there are differences:
- bold is
- italic is
- underline is
code(fixed-pitch inline unformatted text) is
- You can use this format to paste URLs without them becoming links or displaying a preview.
- To display a link but no preview, surround the URL with angle brackets: <https://htyp.org>. The angle brackets will not be displayed, and preview will be suppressed.
- Note: Discord's settings refer to the preview as an "embedded link". Previews of links pasted into a discussion can be turned off by revoking this privilege.
- multiple lines of code can be started with three backticks at the beginning of a line:
``` code lines code lines ```
- the initial backticks can have a language designator afterwards, for syntax highlighting:
```php php code... ```
>(right-angle plus a space) will cause the following paragraph to be indented with a vertical bar
- spoiler text is
||two pipes||: this causes the text to be obscured until clicked on
To display characters that would otherwise be treated as formatting, escape them with a backslash:
\*will display as
\_will display as
- This does not seem to work with backticks (
This applies only within Servers (Guilds); DMs, even when multiple people are included, have essentially no security controls.
The security management is fairly sophisticated. Channels can be restricted to selected individuals or "roles" (which are essentially security groups). Channels can also be grouped into "categories", which can be given their own security settings which then become defaults for the channels they contain. The permissions which are assignable to individuals or roles are quite fine-grained.
comparison to IRC
Discord is GUI-oriented rather than text-oriented; almost everything except actual messages is done via menus, icons, and other graphical interface elements, though there are a few text commands.
Some of the graphical elements supported:
- limited rich text formatting: bold, italics,
- avatars for users and servers/guilds
- emoji, both inline and as reactions to posts (aka reactji).
Other users can click on already-posted reactji, and Discord will display the number of people who clicked (and their usernames in the hover-over). This can be used for practical things like polling, as well as just expressing feelings about something without interrupting the conversation.
- /API: writing software to interact with Discord
- /bots: there are a lot of bots available for extending Discord functionality