Feature request: Search through multiple HTML elements
See original GitHub issueI was trying to use mark.js to find some expressions. For example, I have such line of code:
<p><b>3</b> results found</p>
If I try to highlight “3 results found” I will have no success. Please, can you fix it as soon as possible? Thank you.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
<input type="search"> - HTML: HyperText Markup Language
<input> elements of type search are text fields designed for the user to enter search queries into. These are functionally identical to text ......
Read more >Can multiple different HTML elements have the same ID if they ...
Yes, multiple IDs can, in practice, be replaced by using classes. However, classes are intended for applying styles, not identifying elements, making the...
Read more >Search: Find text across all loaded resources
Press Command + Option + F (Mac) or Control + Shift + F (Windows/Linux). # Search for text across all loaded resources. To...
Read more >Advanced Search - GitLab Docs
You can use Advanced Search for faster, more efficient search across the entire GitLab instance. Advanced Search is based on Elasticsearch, a purpose-built ......
Read more >HTML Programming with Visual Studio Code
As you type in HTML, we offer suggestions via HTML IntelliSense. In the image below, you can see a suggested HTML element closure...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
My use case is covered! Brilliant.
Text is now marked regardless of how many html tags are contained within.
It also works if the selection is dirty, i.e. the selection ends mid-tag.
Thanks 😃
@VesterDe @rpedela @Rapeity I’ve just completed the development of this feature. I’d appreciate if you’d try using it in your real applications. Just use e.g. the mark.js file at the 8.0.0 branch.
I’ll release the new version within one week as I’ll have to implement the last open todo and update the documentation first.