技术预览提交反馈

文本格式

更新于 2026年11月12日

粗体与斜体

**bold text** and _italic text_ and **_bold italic_**

渲染效果:粗体文本、斜体文本 和 粗斜体

删除线

~~deleted text~~

渲染效果:已删除的文本

行内代码

Use `const x = 1` for inline code.

渲染效果:使用 const x = 1 表示行内代码。

行内代码高亮

使用 {:lang} 后缀为行内代码添加特定语言的语法高亮:

Use `const x = 1{:ts}` for inline TypeScript or `print("hello"){:py}` for Python.

渲染效果:

使用 const x = 1 表示行内 TypeScript,或使用 print("hello") 表示 Python。

引用块

> This is a blockquote.

渲染效果:

这是一个引用块。

列表

无序列表和有序列表:

  • 第一项
  • 第二项
    • 嵌套项
  1. 第一步
  2. 第二步
  3. 第三步

任务列表

- [x] Completed task
- [ ] Pending task

渲染效果:

  • 已完成的任务
  • 待完成的任务

分隔线

***

脚注

使用 [^id] 引用和定义来添加脚注:

Here is a sentence with a footnote[^1] and another[^note].

[^1]: This is a numbered footnote.

[^note]: Footnotes can use descriptive identifiers too.

渲染效果:

这是一个带有脚注1的句子,还有另一个脚注2。

定义列表

为术语给出对应的描述:

Remark
: A markdown processor powered by plugins

Rehype
: An HTML processor powered by plugins

Unified
: An interface for processing content with syntax trees
: The foundation for both remark and rehype

渲染效果:

Remark

基于插件的 Markdown 处理器

Rehype

基于插件的 HTML 处理器

Unified

使用语法树处理内容的接口

remark 和 rehype 共同的基础

缩写

使用 :abbr 指令为缩写添加悬停提示:

The :abbr[HTML]{title="HyperText Markup Language"} standard is maintained by :abbr[W3C]{title="World Wide Web Consortium"}.

渲染效果:

标准由 维护。

Emoji

使用 GitHub 风格的 emoji 短代码:

:rocket: Launch :tada: Celebrate :heart: Love :warning: Careful :white_check_mark: Done

渲染效果:

🚀 发布 🎉 庆祝 ❤️ 喜爱 ⚠️ 注意 ✅ 完成

可用的短代码请参阅完整的 emoji 列表。

Footnotes

  1. 这是一个编号脚注。 ↩

  2. 脚注也可以使用描述性的标识符。 ↩

用 ❤ 和 Livemark 构建