[feature request] built-in keyboard shortcut for search option #3327
camilogarciabotero
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
Having a shortcut to open search would be nice, but the Nevertheless, having a Command K Bar with Search included (something like this: kbar ) would be nice, and is something I am also interested in. From what I have read so far, I am guessing it is a simple JavaScript issue such as implementing keydown + a Modal View from Bootstrap or implementing a JavaScript library such as Mousetrap and loading it into quarto via code reuse or using includes |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Currently, the search option in the YAML has several options:
And it also has the
algolia
, a third-party search feature that requires extra configuration and has multiple current options, e.g:However, as you can see in the main algolia page they have a nice
ctrl + k
button to enable search focus rapidly. They provide information to allow it to by just addingexport const keyboardShortcuts = ['+'];
to theJS
search file.I was wondering if there is a built-in way to enable
ctrl + k
in the basic search provided by Quarto, something like:Beta Was this translation helpful? Give feedback.
All reactions