question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Search through multiple HTML elements

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
VesterDecommented, Aug 28, 2016

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 😃

1reaction
julmotcommented, Aug 27, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found