Discord 格式化指南
Discord 文本格式与 Markdown
Discord 的可视化 markdown 编辑器和完整速查表。实时预览粗体、斜体、剧透、引用、副文本 (-#) 和标题。
Markdown 编辑器 496 字符
提示:选择文本并点击工具栏按钮以包裹所选内容。
Discord 消息预览 实时预览
Discord Markdown 完整速查表
所有 Discord markdown 样式的完整语法参考。
| 样式 / 元素 | Markdown 语法 | 示例代码 | 复制 |
|---|---|---|---|
| 粗体文本 | **text** | **Bold text** | |
| 斜体文本 | *text* or _text_ | *Italic text* | |
| 下划线文本 | __text__ | __Underlined text__ | |
| 删除线 | ~~text~~ | ~~Strikethrough~~ | |
| 剧透条 | ||text|| | ||Secret spoiler|| | |
| 行内代码 | `text` | `/help command` | |
| 代码块 | ```lang\ncode\n``` | ```json {"status": "ok"} ``` | |
| 引用 | > text | > Quoted line | |
| 副文本 (-#) | -# text | -# Small subtext | |
| 标题 1 | # text | # Large Heading | |
| 标题 2 | ## text | ## Medium Heading | |
| 标题 3 | ### text | ### Small Heading | |
| 无序列表 | - item | - List item 1 - List item 2 | |
| 隐藏链接 | [text](url) | [Discord Webhook](https://discord.com) |