Create a option/flag to enable direct link copying for H2 and H3 headers. #2897
Closed
SnowDingo
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Thanks for the request 🙌 This is something currently being tracked in #1239 so I'd invite you to follow along there for updates and upvote the discussion too. I'll add that a small guide on a possible approach is available here in the meantime if you're interested. |
Beta Was this translation helpful? Give feedback.
1 reply
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?latest
What is your idea?
My idea is to add a config in Starlight, which if set to true, will allow users to copy the direct link to the header on H2 and H3 elements. An example of this feature is already present on the official Astro docs, but I couldn't find a pre-existing flag that does the same job.
Before:

After:

Why is this feature necessary?
This feature is very minor, but I think this is important because it allows further customization and user-friendliness.
Most other options have this feature, and I believe Starlight should implement it as well.
Do you have examples of this feature in other projects?
Participation
Beta Was this translation helpful? Give feedback.
All reactions