Add a way to set the class of autogenerated links in a sidebar #3264
Replies: 5 comments 7 replies
-
We don’t support Might be worth a feature request explaining what behaviour you’re expecting? Is the aim to add attributes to the link group? Or apply that class to every link in the group? |
Beta Was this translation helpful? Give feedback.
-
Sharing for context the associated Discord discussion: https://discord.com/channels/830184174198718474/1070481941863878697/1385520549999935488 From my understanding, the idea was to add attributes to all links in an autogenerated group.
|
Beta Was this translation helpful? Give feedback.
-
Exactly what @HiDeoo said 🙏 |
Beta Was this translation helpful? Give feedback.
-
OK, great, I’ll convert this to a feature request — thanks for the clarification. |
Beta Was this translation helpful? Give feedback.
-
Support for custom HTML attributes on autogenerated sidebar links using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?latest
What version of
astro
are you using?latest
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
TypeScript is happy with this, but it breaks the build:
Link to Minimal Reproducible Example
N/A, as discussed on Discord
Participation
Beta Was this translation helpful? Give feedback.
All reactions