ssleptsov / ninja-keys

Keyboard shortcuts interface for your website. Working with static HTML, Vanilla JS, Vue, React, Svelte.
https://ninja-keys-demo.vercel.app/
MIT License
1.65k stars 60 forks source link

Highlight matched characters in results #17

Open bengry opened 2 years ago

bengry commented 2 years ago

It would be nice if we could customize the commands' HTML, or at least be able to natively highlight the matched characters in the text (using bold probably) while searching. I think this makes searching more intuitive and allows for better queries on the future.

This issue is somewhat related to #16.

The idea here to have a similar functionality to the VS Code command palette (or other IDEs like it) in this regard.