[Closed] highlight searched text
How can I highlight the keyword that I searched for in the results returned with js platform?
For eg: i searched for "Panel", all the results returned with the word "panel" will be highlighted.
You can do that for a couple of result fields when rendering the HTML from results. For example, in an Underscore template you can render the excerpts like this:
This will cause keywords to be highlighted. You can do that with the title (title + titleHighlights), and a few other properties as well.