Skip to content

Commit e76b773

Browse files
Wrap message formats in code blocks (#6827)
1 parent f0d1615 commit e76b773

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/Reference.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -253,19 +253,19 @@ Discord utilizes a subset of markdown for rendering message content on its clien
253253

254254
###### Formats
255255

256-
| Type | Structure | Example |
257-
|-------------------------|---------------------|-------------------------------|
258-
| User | <@USER_ID> | <@80351110224678912> |
259-
| User \* | <@!USER_ID> | <@!80351110224678912> |
260-
| Channel | <#CHANNEL_ID> | <#103735883630395392> |
261-
| Role | <@&ROLE_ID> | <@&165511591545143296> |
262-
| Slash Command \*\* | </NAME:COMMAND_ID> | </airhorn:816437322781949972> |
263-
| Standard Emoji | Unicode Characters | 💯 |
264-
| Custom Emoji | <:NAME:ID> | <:mmLol:216154654256398347> |
265-
| Custom Emoji (Animated) | <a:NAME:ID> | <a:b1nzy:392938283556143104> |
266-
| Unix Timestamp | <t:TIMESTAMP> | <t:1618953630> |
267-
| Unix Timestamp (Styled) | <t:TIMESTAMP:STYLE> | <t:1618953630:d> |
268-
| Guild Navigation | \<id:TYPE> | \<id:customize> |
256+
| Type | Structure | Example |
257+
|-------------------------|-----------------------|---------------------------------|
258+
| User | `<@USER_ID>` | `<@80351110224678912>` |
259+
| User \* | `<@!USER_ID>` | `<@!80351110224678912>` |
260+
| Channel | `<#CHANNEL_ID>` | `<#103735883630395392>` |
261+
| Role | `<@&ROLE_ID>` | `<@&165511591545143296>` |
262+
| Slash Command \*\* | `</NAME:COMMAND_ID>` | `</airhorn:816437322781949972>` |
263+
| Standard Emoji | Unicode Characters | 🦶 |
264+
| Custom Emoji | `<:NAME:ID>` | `<:mmLol:216154654256398347>` |
265+
| Custom Emoji (Animated) | `<a:NAME:ID>` | `<a:b1nzy:392938283556143104>` |
266+
| Unix Timestamp | `<t:TIMESTAMP>` | `<t:1618953630>` |
267+
| Unix Timestamp (Styled) | `<t:TIMESTAMP:STYLE>` | `<t:1618953630:d>` |
268+
| Guild Navigation | `<id:TYPE>` | `<id:customize>` |
269269

270270
Using the markdown for either users, roles, or channels will usually mention the target(s) accordingly, but this can be suppressed using the `allowed_mentions` parameter when creating a message. Standard emoji are currently rendered using [Twemoji](https://twemoji.twitter.com/) for Desktop/Android and Apple's native emoji on iOS.
271271

0 commit comments

Comments
 (0)