告示框
在基础的Markdown语法之外,docusurus增加了一些告示框,有以下五种类型。
- note 备注
- tip 提示
- info 信息
- caution 警告
- danger 危险
示例
代码
:::note
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::tip
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::info
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::caution
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
:::danger
Some **content** with _Markdown_ `syntax`. Check [this `api`](#).
:::
样式
备注
Some content with Markdown syntax. Check this api.
提示
Some content with Markdown syntax. Check this api.
信息
Some content with Markdown syntax. Check this api.
警告
Some content with Markdown syntax. Check this api.
危险
Some content with Markdown syntax. Check this api.