easyops-cn / docusaurus-search-local

Offline/local search for Docusaurus v2/v3
https://easyops-cn.github.io/docusaurus-search-local/
MIT License
702 stars 89 forks source link

Support queryString in URL when result is in a Tab #434

Open hadar-co opened 2 months ago

hadar-co commented 2 months ago

When a search result is located under a TabItem that is not the default one, clicking on the result will take me to the right page, but since the tab is not selected, the search result cannot be found with a simple "Find in page" (Cmd + F).

Tabs in Docusaurus support queryString which allows you to add a suffix to the page's URL and access the page with the desired tab selected, directly from the URL.

Is there a configuration option to support this for search results? If the result would use the full URL, the tab will be selected when clicking on the result.

hadar-co commented 1 month ago

Hi, any workaround/planned solution for this?