 	<cfreturn loc.returnValue>
 </cffunction>
 
-<cffunction name="highlight" returntype="string" access="public" output="false" hint="Highlights the phrase(s) everywhere in the text if found by wrapping it in a span tag.">
-	<cfargument name="text" type="string" required="true">
-	<cfargument name="phrases" type="string" required="true">
-	<cfargument name="class" type="string" required="false" default="highlight">
+<cffunction name="highlight" returntype="string" access="public" output="false"
+	hint="Highlights the phrase(s) everywhere in the text if found by wrapping it in a span tag."
+	examples=
+	'
+		#highlight(text="You searched for: Wheels", phrases="Wheels")#
+		-> You searched for: <span class="highlight">Wheels</span>
+	'
+	categories="view-helper" functions="excerpt,simpleFormat,stripLinks,stripTags,titleize,truncate>
+	<cfargument name="text" type="string" required="true" hint="Text to search">
+	<cfargument name="phrases" type="string" required="true" hint="List of phrases to highlight">
+	<cfargument name="class" type="string" required="false" default="highlight" hint="Class to use in `span` tags surrounding highlighted phrase(s)">
 	<cfscript>
 		var loc = {};
 		if (!Len(arguments.text) || !Len(arguments.phrases))

	<cfreturn loc.returnValue>
</cffunction>

<cffunction name="truncate" returntype="string" access="public" output="false" hint="Truncates text to the specified length and replaces the last characters with the specified truncate string (defaults to '...').">
	<cfargument name="text" type="string" required="true" hint="The text to truncate">
	<cfargument name="length" type="numeric" required="false" default="30" hint="Length to truncate the text to">
	<cfargument name="truncateString" type="string" required="false" default="..." hint="String to replace the last characters with">

<cffunction name="excerpt" returntype="string" access="public" output="false"
	hint="Extracts an excerpt from text that matches the first instance of phrase."
	examples=
	'
		#excerpt(text="ColdFusion Wheels is a Rails-like MVC framework for Adobe ColdFusion and Railo", phrase="framework", radius=5)#
		-> ... MVC framework for ...
	'
	categories="view-helper" functions="highlight,simpleFormat,stripLinks,stripTags,titleize,truncate">
	<cfargument name="text" type="string" required="true" hint="The text to extract an excerpt from">
	<cfargument name="phrase" type="string" required="true" hint="The phrase to extract">
	<cfargument name="radius" type="numeric" required="false" default="100" hint="Number of characters to extract surrounding the phrase">
	<cfargument name="excerptString" type="string" required="false" default="..." hint="String to replace first and/or last characters with">
	<cfscript>
	var loc = {};
