SyntaxHighlighter 3.0.83

Fork Me On GitHub
whats new?
SyntaxHighlighter is an open source Java Script client side code syntax highlighter.
donate download installation autoloader configuration @syntaxhighlight

XML Example

      <?xml version="1.0" encoding="utf-8" ?> 
      
      <!-- comments -->
      <rootNode>
      	<childNodes>
      		<childNode attribute = "value" namespace:attribute='value' attribute=/>
      		<childNode />
      		<childNode />
      		<childNode />
      		<childNode 
      			attr1="value"
      			attr2="10"
      			attr3="hello"
      			>
      				value
      			</childNode>
      		<namespace:childNode>
      			<![CDATA[
      				this is some CDATA content
      				<!-- comments inside cdata -->
      				<b alert='false'>tags inside cdata</b>
      			]]>
      			
      			value = "plain string outside"
      			hello = world
      		</namespace:childNode>
      	</childNodes>
      </rootNode>
      
      <!--
        -- Multiline comments <b>tag</b>
        -->
      
Brush nameBrush aliasesFile name
ActionScript3as3, actionscript3shBrushAS3.js
Bash/shellbash, shellshBrushBash.js
ColdFusioncf, coldfusionshBrushColdFusion.js
C#c-sharp, csharpshBrushCSharp.js
C++cpp, cshBrushCpp.js
CSScssshBrushCss.js
Delphidelphi, pas, pascalshBrushDelphi.js
Diffdiff, patchshBrushDiff.js
Erlangerl, erlangshBrushErlang.js
GroovygroovyshBrushGroovy.js
JavaScriptjs, jscript, javascriptshBrushJScript.js
JavajavashBrushJava.js
JavaFXjfx, javafxshBrushJavaFX.js
Perlperl, plshBrushPerl.js
PHPphpshBrushPhp.js
Plain Textplain, textshBrushPlain.js
PowerShellps, powershellshBrushPowerShell.js
Pythonpy, pythonshBrushPython.js
Rubyrails, ror, rubyshBrushRuby.js
ScalascalashBrushScala.js
SQLsqlshBrushSql.js
Visual Basicvb, vbnetshBrushVb.js
XMLxml, xhtml, xslt, html, xhtmlshBrushXml.js