Files
mintlify__docs/zh/components/callouts.mdx
mintlify[bot] fbdd913d8e Add translation audit tracker (#5055)
* Add translation tracker for stale translations audit

Generated-By: mintlify-agent

* translations: add missing pages and update content for es, fr, zh

Phase 1: Add translations for 4 new API analytics pages (feedback-by-page,
searches, views, visitors) in es, fr, and zh.

Phase 2: Update 3 pages with content changes:
- agent/workflows: add "Disable a workflow" subsection
- ai/skillmd: add 24-hour generation note
- editor/publish: add AI PR title tip, reformat publishing workflows,
  promote "Publish your changes" heading from h3 to h2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* update descriptions

* translations

* translations

* translations

* Delete TRANSLATION_TRACKER.md

* translations

* a

* a

* translations

* translations

* translations

* translations

* translations

* translations

* translations

* translations

* Update use-cases.mdx

* translations

* translations

* Update ai-native.mdx

* Update accordions.mdx

* Update accordions.mdx

* Update accordions.mdx

* translations

* translations

* Update fonts.mdx

* translations

* translations: update SEO descriptions for es, fr, zh (150 pages)

Update the description: frontmatter field across 150 pages × 3 languages
to match the current English descriptions updated on 2026-03-31.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 10:52:59 -07:00

64 lines
1.7 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"]
---
import IconsOptional from "/snippets/zh/icons-optional.mdx";
将标注框设置为 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>
```
<div id="custom-callout-properties">
## 自定义标注框属性
</div>
通用 `Callout` 组件支持自定义图标和颜色。带类型的标注框(`Note`、`Warning`、`Info`、`Tip`、`Check`、`Danger`)使用预设的图标和颜色,仅接受 `children`。
<IconsOptional />
<ResponseField name="color" type="string">
自定义颜色,使用十六进制色值(例如 `#FFC107`)。设置标注框的边框、背景色调和文本颜色。
</ResponseField>