diff options
author | Martin Seibert | 2025-02-18 13:15:50 +0100 |
---|---|---|
committer | GitHub | 2025-02-18 13:15:50 +0100 |
commit | 8039167d9f6c2d543c77b67ea60b21521e0e5f81 (patch) | |
tree | bbec2cc4c7e27c6e9dd0e22f7b6411a45d9b6599 | |
parent | 7af9cb053e293c4b57eea67e6ba680260045f171 (diff) | |
download | IT.starlight-8039167d9f6c2d543c77b67ea60b21521e0e5f81.tar.gz IT.starlight-8039167d9f6c2d543c77b67ea60b21521e0e5f81.tar.bz2 IT.starlight-8039167d9f6c2d543c77b67ea60b21521e0e5f81.zip |
Adding all samples for badges in sidebar as example (#2881)
Co-authored-by: trueberryless <99918022+trueberryless@users.noreply.github.com>
-rw-r--r-- | docs/src/content/docs/guides/sidebar.mdx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/content/docs/guides/sidebar.mdx b/docs/src/content/docs/guides/sidebar.mdx index 63e26b16..1e0f55f5 100644 --- a/docs/src/content/docs/guides/sidebar.mdx +++ b/docs/src/content/docs/guides/sidebar.mdx @@ -93,7 +93,7 @@ The following sidebar will be generated: To override the values inferred from a linked page’s frontmatter, you can add `label`, [`translations`](#internationalization), and [`attrs`](#custom-html-attributes) properties. -See [“Customizing autogenerated links”](#customizing-autogenerated-links-in-frontmatter) for more details about controlling the sidebar appearance from page frontmatter. +See ["Customizing autogenerated links"](#customizing-autogenerated-links-in-frontmatter) for more details about controlling the sidebar appearance from page frontmatter. #### Shorthand for internal links @@ -390,6 +390,8 @@ The configuration above generates the following sidebar: ]} /> +Learn more about [using and customizing badges](/components/badges/#usage). + ## Custom HTML attributes Links can also include an `attrs` property to add custom HTML attributes to the link element. |