Add Header Override / Extends Frontmatter Prop #951
Bwc9876
started this conversation in
Feature Requests
Replies: 0 comments
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?0.6.1
What is your idea?
Although auto-generated TOC covers many use cases it can be limiting for people that use custom components, as those headers won't get parsed. So a way to override or perhaps simply extend what headers should be placed in the TOC and their levels, ids, etc should be exposed to the user.
Why is this feature necessary?
This issue would help users who want to utilize Astro components in their starlight projects more.
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions