Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight search term on page #173

Open
mgrabovsky opened this issue Jun 24, 2022 · 0 comments
Open

Highlight search term on page #173

mgrabovsky opened this issue Jun 24, 2022 · 0 comments
Labels
to be triaged Has no priority or project

Comments

@mgrabovsky
Copy link
Member

When searching for a keyword via the search box, it would be nice to highlight the matching words on the target page. For instance, when searching for “emis”, all the words that match the query should be highlighted – in a similar way as in the search box:

Screenshot from 2022-06-24 14-28-49

We already append the query via the ?q=... parameter in the URL, which makes this a lot easier. The mark.js library looks like it could be used to make the rest straightforward.

@mgrabovsky mgrabovsky added the to be triaged Has no priority or project label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be triaged Has no priority or project
Projects
None yet
Development

No branches or pull requests

1 participant