mark.js

Highlight keywords using JavaScript. Intended for every use case. Can e.g. be used to mark text in search results.

Browse on unpkg