Skip to content

Commit

Permalink
i18n(zh-cn): Update frontmatter.md (#1969)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyikai committed Jun 6, 2024
1 parent fb38856 commit 2b4ca8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/zh-cn/reference/frontmatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ sidebar:

当在自动生成的链接组中显示时,在侧边栏中为页面添加徽章。

当使用字符串时,徽章将显示为默认的强调色。可选择的,传递一个 [`BadgeConfig` 对象](/zh-cn/reference/configuration/#badgeconfig) ,其中包含 `text``variant` 字段,可以自定义徽章。
当使用字符串时,徽章将显示为默认的强调色。可选择的,传递一个 [`BadgeConfig` 对象](/zh-cn/reference/configuration/#badgeconfig) ,其中包含 `text``variant``class` 字段,可以自定义徽章。

```md
---
Expand Down

0 comments on commit 2b4ca8e

Please sign in to comment.