added option for prefix only highlighting
I'm sorry, don't know where to write... We can to show words which not match/not found?
@andrew-y0u Can you please explain what you mean and what your use case is?
@julmot I have a list of words. I need highlight this words in text and I need displaying words which not found.
Example: array of words which need to find: ['word1', 'word2', 'word3']; text where I must find: "lorem ipsum word1 lorem word2";
I must highlight 'word1' and 'word2', and pass 'word3' to new array with words which not found, so then I can display not found words.
@andrew-y0u I'm giving you an example with mark.js:
https://jsfiddle.net/julmot/qp44591x/
If you want you can open a feature request to implement an option for this.