From 2b4ca8eb8312f2116b848e9a4ddf808c30f2e05f Mon Sep 17 00:00:00 2001 From: huyikai Date: Thu, 6 Jun 2024 09:31:19 +0800 Subject: [PATCH] i18n(zh-cn): Update `frontmatter.md` (#1969) --- docs/src/content/docs/zh-cn/reference/frontmatter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/zh-cn/reference/frontmatter.md b/docs/src/content/docs/zh-cn/reference/frontmatter.md index 408cc689cc2..dff7d59a74c 100644 --- a/docs/src/content/docs/zh-cn/reference/frontmatter.md +++ b/docs/src/content/docs/zh-cn/reference/frontmatter.md @@ -354,7 +354,7 @@ sidebar: 当在自动生成的链接组中显示时,在侧边栏中为页面添加徽章。 -当使用字符串时,徽章将显示为默认的强调色。可选择的,传递一个 [`BadgeConfig` 对象](/zh-cn/reference/configuration/#badgeconfig) ,其中包含 `text` 和 `variant` 字段,可以自定义徽章。 +当使用字符串时,徽章将显示为默认的强调色。可选择的,传递一个 [`BadgeConfig` 对象](/zh-cn/reference/configuration/#badgeconfig) ,其中包含 `text`、`variant` 和 `class` 字段,可以自定义徽章。 ```md ---