适用于章节标题。
副标题
适用于子章节标题。
每个标题与副标题都会创建锚点,并显示在右侧目录中。
文本格式化
我们支持大多数 Markdown 样式。只需在文本两侧添加 **、_ 或 ~ 来完成格式化。
| 样式 | 写法 | 结果 |
|---|
| 粗体 | **bold** | bold |
| 斜体 | _italic_ | italic |
| 删除线 | ~strikethrough~ | strikethrough |
也可以组合使用。例如,输入 **_bold and italic_** 可得到 bold and italic 文本。
上标与下标需要使用 HTML 标签,即在文本外包裹 <sup> 或 <sub>。
| 文本大小 | 写法 | 结果 |
|---|
| 上标 | <sup>superscript</sup> | superscript |
| 下标 | <sub>subscript</sub> | subscript |
链接到页面
通过在文本外使用 []() 可以创建链接。例如,写作 [link to google](https://google.com) 即可链接到 google。
文档内页面链接应使用根相对路径,包含完整的文件夹路径。例如,[link to text](/writing-content/text) 会链接到组件部分中的“Text”页面。
相对路径链接如 [link to text](../text) 打开会更慢,因为我们无法进行相同程度的优化。
在段落前添加一个 > 即可创建引用。
Dorothy followed her through many of the beautiful rooms in her castle.
> Dorothy followed her through many of the beautiful rooms in her castle.
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
> Dorothy followed her through many of the beautiful rooms in her castle.
>
> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
LaTeX
Mintlify 通过 Latex 组件支持 LaTeX。
8 x (vk x H1 - H2) = (0,1)
<Latex>8 x (vk x H1 - H2) = (0,1)</Latex>