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

Bash Example

      #!/bin/bash
      X=3
      Y=4
      empty_string=""
      if [ $X -lt $Y ]	# is $X less than $Y ? 
      then
      	echo "\$X=${X}, which is smaller than \$Y=${Y}"
      fi
      
      if [ -n "$empty_string" ]; then
      	echo "empty string is non_empty"
      fi
      
      if [ -e "${HOME}/.fvwmrc" ]; then 			# test to see if ~/.fvwmrc exists
      	echo "you have a .fvwmrc file"
      	if [ -L "${HOME}/.fvwmrc" ]; then 		# is it a symlink ?  
      		echo "it's a symbolic link"
      	elif [ -f "${HOME}/.fvwmrc" ]; then 	# is it a regular file ?
      		echo "it's a regular file"
      	fi
      else
      	echo "you have no .fvwmrc file"
      fi
      
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