mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
bbb1a08ed3
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
---
|
||
title: "标注框"
|
||
description: "使用标注框来为重要内容设定样式并突出显示。"
|
||
keywords: ["callouts", "notes", "warnings", "info boxes", "tips", "emphasis", "highlight"]
|
||
---
|
||
|
||
标注框可以设置为 Note、Warning、Info、Tip、Check、Danger,或创建你自己的标注框:
|
||
|
||
<Note>这会在内容中添加一条说明</Note>
|
||
|
||
```mdx
|
||
<Note>这会在内容中添加注释</Note>
|
||
```
|
||
|
||
<Warning>这会触发一个 Warning,提醒注意</Warning>
|
||
|
||
```mdx
|
||
<Warning>这会引发一个需要注意的警告</Warning>
|
||
```
|
||
|
||
<Info>用于提示关键信息</Info>
|
||
|
||
```mdx
|
||
<Info>这会突出显示重要信息</Info>
|
||
```
|
||
|
||
<Tip>这是一条有用的提示</Tip>
|
||
|
||
```mdx
|
||
<Tip>这是一个有用的提示</Tip>
|
||
```
|
||
|
||
<Check>这将使其处于“已选中”状态</Check>
|
||
|
||
```mdx
|
||
<Check>这表示已选中状态</Check>
|
||
```
|
||
|
||
<Danger>这是一个危险提示框</Danger>
|
||
|
||
```mdx
|
||
<Danger>这是一个危险提示</Danger>
|
||
```
|
||
|
||
<Callout icon="key" color="#FFC107" iconType="regular"> 这是一个自定义标注</Callout>
|
||
|
||
```mdx wrap
|
||
<Callout icon="key" color="#FFC107" iconType="regular">这是一个自定义标注</Callout>
|
||
```
|