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
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowship
Search Shortcut (ex. s key or / key) functionality for DocSearch search bar to automatically put the cursor in the search bar. This would be similar to how you can hit s or / to select the GitHub search bar.
This feature would make it easier for users navigating the site to search the page by keeping their hands on the keyboard with a shortcut vs having to use the mouse to click on the search bar.
Maybe we can add keyboard support as a core feature to Docusaurus 2.
How it works - plugins can register keyboard shortcuts which Docusaurus will attach as a global event listener and show a list of all supported shortcuts on the website when the user types ?, like Reddit:
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowship
Activity
[-]Search Shortcut[/-][+]Search Keyboard Shortcut[/+]krillboi commentedon May 26, 2020
+1 for this! Though I have heard that DocSearch is releasing a new version soon that should be the one they are using on https://docsearch.algolia.com/ (where you hit Ctrl + K), so maybe Docusaurus just needs to implement this new theme when it releases?
yangshun commentedon Jun 5, 2020
Maybe we can add keyboard support as a core feature to Docusaurus 2.
How it works - plugins can register keyboard shortcuts which Docusaurus will attach as a global event listener and show a list of all supported shortcuts on the website when the user types ?, like Reddit: