Question
Code Colouring
Does anyone know where I can find a UDF that colors code
samples where for example...
<mycodeblock>
Would become...
<span style="color: brown;"><mycodeblock></span>
When used such as...
<cfset text = "<mycodeblock>" />
<cfoutput>#colorCode(text)#</cfoutput>
This would be really handy to have so that if someone submits some code it can become coloured.
Many thanks.
<mycodeblock>
Would become...
<span style="color: brown;"><mycodeblock></span>
When used such as...
<cfset text = "<mycodeblock>" />
<cfoutput>#colorCode(text)#</cfoutput>
This would be really handy to have so that if someone submits some code it can become coloured.
Many thanks.