You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When creating a sidebar structure from anchor points in a single document (think a list of commands on a single page), Vitepress does not highlight the active anchor, and instead highlights the sidebar item clicked to navigate to the page (e.g. clicking on help navigates to /commands/#help)
help -> /commands/#help
Describe the solution you'd like
support URL hash for sidebar active match
expose activeMatch with behavior similar to DefaultTheme.NavItem
Is your feature request related to a problem? Please describe.
When creating a sidebar structure from anchor points in a single document (think a list of commands on a single page), Vitepress does not highlight the active anchor, and instead highlights the sidebar item clicked to navigate to the page (e.g. clicking on
help
navigates to/commands/#help
)Describe the solution you'd like
activeMatch
with behavior similar toDefaultTheme.NavItem
Describe alternatives you've considered
n/a
Additional context
I may be able to implement this feature
Validations
The text was updated successfully, but these errors were encountered: