Discord 是最受欢迎的消息传递和协作应用程序之一。Discord 在游戏玩家和青少年中很受欢迎,它提供了一个活泼且设计精良的界面,非常适合与朋友交流。与 Slack 类似,Discord 提供有限的 Markdown 支持,这与该类别中的其他应用程序相当。

Example of Discord Markdown

Discord Markdown 支持

Discord 为以下 Markdown 元素提供支持。

Element Support Notes
Headings Yes
Paragraphs No
Line Breaks No The Markdown syntax is not supported, but you can press the Shift and Return keys to go to the next line.
Bold Yes Use asterisks. Underscores aren’t supported.
Italic Yes
Blockquotes Yes You can use to create a multi-line blockquote. All text from the to the end of the message will be included in the quote. >>>>>>
Ordered Lists Yes
Unordered Lists Yes
Code Yes
Horizontal Rules No
Links Yes
Images No
Tables No
Fenced Code Blocks Yes
Syntax Highlighting Yes
Footnotes No
Heading IDs No
Definition Lists No
Strikethrough Yes
Task Lists No
Emoji (copy and paste) Yes
Emoji (shortcodes) Yes
Highlight No
Subscript No
Superscript No
Automatic URL Linking Yes
Disabling Automatic URL Linking Yes
HTML No

支持其他语法元素

作为额外的奖励,Discord 提供了对几个晦涩元素的支持。

Element Markdown Rendered Output
Spoilers This text will be hidden: ||spoilers||
Underline __This text will be underlined.__ This text will be underlined.
Subtext -# This line will be made smaller and greyed out. This line will be made smaller and greyed out.

另请参阅

将您的 Markdown 技能提升到一个新的水平。

在 60 页中学习 Markdown。《Markdown 指南》专为新手和专家设计,是一本全面的参考书,包含您入门和掌握 Markdown 语法所需的一切。

获取书籍