Skip to content

i18n(zh-cn): Update api-reference.mdx #7297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 12, 2024
Merged
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ import { Code } from 'astro:components';
</p>
```

该组件在构建时为代码块提供语法高亮(不包括客户端 JavaScript)。该组件由 Shiki 驱动,它支持所有流行的[主题](https://github.com/shikijs/shiki/blob/main/docs/themes.md)和[语言](https://github.com/shikijs/shiki/blob/main/docs/languages.md)。另外,你可以通过给 `theme` 和 `lang` 传递自定义主题和语言分别添加它们。
该组件在构建时为代码块提供语法高亮(不包括客户端 JavaScript)。该组件由 Shiki 驱动,它支持所有流行的[主题](https://shiki.style/themes)和[语言](https://shiki.style/languages)。另外,你可以通过给 `theme` 和 `lang` 传递自定义主题和语言分别添加它们。

### `<Fragment />`

Expand Down