mark.js

A text highlighter intended for every use case. Has built-in options for diacritics, separate word search, synonyms, iframes, filters, accuracy, element, class name and more. Can be used with pure JavaScript or as jQuery plugin.