Files
mintlify__docs/zh/components/callouts.mdx
locadex-agent[bot] 97dd998f47 docs(locadex): add translations (#4079)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2026-03-06 10:54:16 -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,提醒注意</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>
```