obsidian-another-quick-switcher
obsidian-another-quick-switcher copied to clipboard
How to highlight keywords in search results?
I want to highlight keywords in the search results, may I use the following css parameters? But it doesn't take effect.
.another-quick-switcher__hit_word {
color: var(--text-nav-selected) !important;
background-color: var(--background-result-color) !important;
}
Best regards.
The property only affects to results of "Grep search".
It's a bit of a pity, Wouldl you consider allowing ordinary search results to achieve this effect in the future?
I'm not going to add the feature because
- It is not easy to implement it
- I think the highlighting words will not help us to find the files very much (AQS doesn't support fuzzy search)
However, if there are concrete reasons, I might consider it.
Best regards.
(AQS doesn't support fuzzy search)
Not sure since when, but by now AQS does allow fuzzy search. Highlighting the matched letters would thus indeed be helpful, since I was sometimes confused why a certain item was suggested.