-
Notifications
You must be signed in to change notification settings - Fork 42
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
How can I highlight more than one occurrence of a match? #107
Comments
There's no way to specify "highlight all" but you can specify multiple instances. In your example:
Would do the trick. |
I know that, I am using this way for some cases. Only the first word "Google" is selected, however if you search CTRL+F for the word "Google", all occurrences will be highlighted. I would like to simulate this effect. Is there any intention in the project for this to be implemented? Thanks for the answer, |
There's no current intention to do that but it's an interesting feature request and could be considered in the future. Do you have a use case that could be used to motivate it? |
Hi Indeed multiple matches support could be used to highlight some data in tables when we know a pattern but not the specific data, when we create the link. Text being a regexp could also offer many more usage :) |
I found a website where a syntax like However, this syntax doesn't seem to work anywhere else, so it's probably not a feature of Chrome but a function of that website. |
It's a website feature of the specific site in question, but you can emulate it using multiple Text Fragments. This is a manual process, though, where you need to hand-craft a link. |
@icarojerry, potentially, an array system would be the most straight forward method – |
Would love to have this. Any updates? |
+1 for this |
Supposing I have a text like:
And use
#:~:text=google
, only the first occurrence is highlighted, while I would like to highlight all occurrences.All the text is in the same context and fragment.
Is it possible to do that?
The text was updated successfully, but these errors were encountered: