-<cffunction name="excerpt" returntype="string" access="public" output="false" hint="Extracts an excerpt from text that matches the first instance of phrase.">
+<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 surronding the phrase">
+	<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 = {};

	<cfreturn loc.returnValue>
</cffunction>

<cffunction name="stripLinks" returntype="string" access="public" output="false" hint="Removes all links from the html (leaving just the link text).">
	<cfargument name="html" type="string" required="true" hint="The html to remove links from">
	<cfreturn REReplaceNoCase(arguments.html, "<a.*?>(.*?)</a>", "\1" , "all")>
</cffunction>

<cffunction name="stripTags" returntype="string" access="public" output="false" hint="Removes all tags from the html.">
	<cfargument name="html" type="string" required="true" hint="The html to remove links from">
	<cfset var returnValue = "">
	<cfset returnValue = REReplaceNoCase(arguments.html, "<\ *[a-z].*?>", "", "all")>
	<cfset returnValue = REReplaceNoCase(returnValue, "<\ */\ *[a-z].*?>", "", "all")>
	<cfreturn returnValue>
</cffunction>

<cffunction name="titleize" returntype="string" access="public" output="false" hint="Capitalizes all words in the text to create a nicer looking title.">
	<cfargument name="word" type="string" required="true" hint="The text to turn into a title">
	<cfscript>
		var loc = {};

	<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 '...')"
	examples=
	'
		##truncate(text="Wheels is a framework for ColdFusion", length=20)##
		-> Wheels is a frame...
		
		##truncate(text="Wheels is a framework for ColdFusion", truncateString=" (more)")##
		-> Wheels is a framework f (more) 
	'
	categories="view-helper" functions="excerpt,highlight,simpleFormat,stripLinks,stripTags,titleize">
	<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">
