Badges for Table of Contents and h tags #1024
onurusluca
started this conversation in
Feature Requests
Replies: 1 comment
-
Thanks for the idea @onurusluca! This would indeed be cool, but we might be blocked by how the table of contents is generated. We use Astro’s |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?3.4.0
What is your idea?
It would be great to have badges, like on the sidebar, for table of contents and the h tag for that item.
Example:
Related:
https://starlight.astro.build/guides/sidebar/#badges
We can override the table of contents and add some stuff ourselves but it's too much work to write manually.
If we can decide on a direction, I can implement it. I wanted to ask the maintainers first.
Why is this feature necessary?
To show badges for the content inside a page other than the currently available sidebar badges.
Sidebar badge:
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions