目录

告示框

优质
小牛编辑
136浏览
2023-12-01

除了支持基本的 Markdown 语法,我们还通过 remark-admonitions 和 MDX 添加了对告示框的支持。告示框用 3 个冒号表示。

示例:

:::note
The content and title *can* include markdown.
:::
:::tip You can specify an optional title
Heads up! Here's a pro-tip.
:::
:::info
Useful information.
:::
:::caution
Warning! You better pay attention!
:::
:::danger
Danger danger, mayday!
:::
note

The content and title can include markdown.

You can specify an optional title

Heads up! Here's a pro-tip.

info

Useful information.

caution

Warning! You better pay attention!

danger

Danger danger, mayday!

指定标题

标题是可选的

:::note Your Title
The content and title *can* include markdown.
:::
Your Title

The content and title can include Markdown.