Files
mintlify__docs/zh/components/callouts.mdx
locadex-agent[bot] bbb1a08ed3 docs(locadex): update translations (#1778)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2025-11-14 14:44:09 -08:00

50 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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>
```