TUS.Marker is jquery plugin to highlight word within content. coffee for me?
- text - keyword to highlighted.
- css - define class name for css purpose.
- caseSensitive - to control case sensitive during search. default true.
- inWord - to find keyword within string. default false.
Sample code as below.
$('#content').tusmarker({
text: "as",
css: "highlight",
caseSensitive: true,
inWord: false,
});