How to highlight matching words?

I used codemirror.next to develop a text file search tool, search based on multiple keywords, and then the matched line content is displayed in codemirror, how can I make the searched keywords highlighted? I will be very happy if I can get your help, thank you

See also How to highlight matching words? · Issue #392 · codemirror/codemirror.next · GitHub

So I guess you did use the forum, but next time don’t also post on the bug tracker.