Ability to have a direct link to a TabItem #2649
Replies: 1 comment 2 replies
-
Thanks for the feature request @stavros-k! I'll be interested to hear feedback and see if this is something other users would like to see.
I think currently what I would do is link to a heading above the tabs. If you have So the target page might look like: ## Installation
<Tabs syncKey="os">
...
</Tabs> And your content could just link to |
Beta Was this translation helpful? Give feedback.
-
What version of
starlight
are you using?0.29.2
What is your idea?
The ability for each tab item to have an id so you can create direct links to them.
So when a user hits a link with
#tab-item-X
theX
tab will be automatically selected.Why is this feature necessary?
Imagine you have some docs that list different instructions for each Operating system.
Now you have each of them in a
TabItem
. And inside eachTabItem
, you want to include a link to another page which also has OS specific details.It would be nice to be able to have a direct link to a specific tab on another page.
Now when the user is directed on that page,
syncKey
) set.Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions