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
Is it possible to add a start and end index? #1
Comments
Lumin does not support this at the moment. For you use case, https://markjs.io/ may be a better option |
Leaving this open as a feature request. <div id="luminRoot">
These are my fav things:
<ul>
<li>Raindrops on roses</li>
<li>whiskers on
<a href="...">kittens</a>
</li>
</ul>
and more...
</div> What does start and end offset mean in this case? |
@pshihn probably the most clear meaning would be : start a position of the first character to highlight and end is a position of the last character to highlight in a tree nodes. |
@szholdiyarov What do you mean by "raindrops'? The issue pointed out in the above example is the difficulty in highlighting text across nodes at different levels. |
[question] [feature-request]
I am working on a search in a table, so if there is "Luminosity" in the table and someone searched for "minos", only that part should be highlighted. Is it possible with lumin?
This can be done if we have a start and end index that can be provided.
The text was updated successfully, but these errors were encountered: