这是配合 summernote富文本编辑器 弄的一个演示；
调用的页面只要加上下面的语句在head区就行，输入时不是通过样式设置代码区，而是输入@选择相应的代码区，因为它会添加相应标识。

<!-- start Syntaxhighlighter 3.0.83 -->
		<script type="text/javascript" src="/syntaxhighlighter/scripts/shCore.js"></script>
		<script type="text/javascript" src="/syntaxhighlighter/scripts/shAutoloader.js"></script>
		<link type="text/css" rel="stylesheet" href="/syntaxhighlighter/styles/shCoreDefault.css"/>
		<script type="text/javascript">
			function path() {
				var args = arguments,
				result = [];
				for (var i = 0; i < args.length; i++)
					result.push(args[i].replace('$', '/syntaxhighlighter/scripts/'));
				return result
			};
			$(function () {
				SyntaxHighlighter.autoloader.apply(null, path(
					'applescript            $shBrushAppleScript.js',
					'actionscript3 as3      $shBrushAS3.js',
					'bash shell             $shBrushBash.js',
					'coldfusion cf          $shBrushColdFusion.js',
					'cpp c                  $shBrushCpp.js',
					'c# c-sharp csharp      $shBrushCSharp.js',
					'css                    $shBrushCss.js',
					'delphi pascal pas      $shBrushDelphi.js',
					'diff patch             $shBrushDiff.js',
					'erl erlang             $shBrushErlang.js',
					'groovy                 $shBrushGroovy.js',
					'java                   $shBrushJava.js',
					'jfx javafx             $shBrushJavaFX.js',
					'js jscript javascript  $shBrushJScript.js',
					'perl pl Perl           $shBrushPerl.js',
					'php                    $shBrushPhp.js',
					'text plain             $shBrushPlain.js',
					'py python              $shBrushPython.js',
					'ruby rails ror rb      $shBrushRuby.js',
					'sass scss              $shBrushSass.js',
					'scala                  $shBrushScala.js',
					'sql                    $shBrushSql.js',
					'vb vbnet               $shBrushVb.js',
					'powershell ps          $shBrushPowerShell.js',
					'xml xhtml xslt html    $shBrushXml.js'
				));
				SyntaxHighlighter.all();
			});
		</script>
		<script type="text/javascript">SyntaxHighlighter.defaults['toolbar'] = false;</script>
		<!-- end Syntaxhighlighter 3.0.83 -->