Skip to content

uekichinos/tus.marker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUS.Marker

TUS.Marker is jquery plugin to highlight word within content. coffee for me?

Plugin Parameters

  1. text - keyword to highlighted.
  2. css - define class name for css purpose.
  3. caseSensitive - to control case sensitive during search. default true.
  4. inWord - to find keyword within string. default false.

Sample Code

Sample code as below.

$('#content').tusmarker({
	text:  "as",
	css:  "highlight",
	caseSensitive:  true,
	inWord:  false,
});