A one-line solution to highlighting search matches

added by JavaScript Kicks
12/18/2018 8:02:19 AM

362 Views

I've recently been making some improvements to the search page of this blog, and wanted to implement a feature where the search term was highlighted everywhere it appeared in the results. Although libraries for this exist, I wanted to try to implement it myself as it seemed like an


0 comments