1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3<head> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 5 <title>SyntaxHighlighter Older Version Support</title> 6 <script type="text/javascript" src="../scripts/xregexp.js"></script> <!-- XRegExp is bundled with the final shCore.js during build --> 7 <script type="text/javascript" src="../scripts/shCore.js"></script> 8 <script type="text/javascript" src="../scripts/shLegacy.js"></script> 9 <script type="text/javascript" src="../scripts/shBrushGroovy.js"></script> 10 <link type="text/css" rel="stylesheet" href="../styles/shCore.css"/> 11 <link type="text/css" rel="Stylesheet" href="../styles/shThemeDefault.css" /> 12</head> 13 14<body> 15 16<h1>SyntaxHighlighter Older Version Support</h1> 17<p> 18 SyntaxHighlighter supports older 1.5.1 version through a special file called 19 shLegacy.js. For more information 20 <a href="http://alexgorbatchev.com/SyntaxHighlighter/manual/older_versions.html">please see the docs</a>. 21</p> 22 23<h2>Basic tests</h2> 24<pre name="code" class="groovy">package free.cafekiwi.gotapi;</pre> 25 26<h2>No controls</h2> 27<pre name="code" class="groovy:nocontrols">package free.cafekiwi.gotapi;</pre> 28 29<h2>No gutter</h2> 30<pre name="code" class="groovy:nogutter">package free.cafekiwi.gotapi;</pre> 31 32<h2>Collapse</h2> 33<pre name="code" class="groovy:collapse">package free.cafekiwi.gotapi;</pre> 34 35<h2>First line</h2> 36<pre name="code" class="groovy:firstline[10]">package free.cafekiwi.gotapi;</pre> 37 38<script type="text/javascript"> 39SyntaxHighlighter.config.clipboardSwf = 'Scripts/clipboard.swf'; 40dp.SyntaxHighlighter.HighlightAll('code'); 41</script> 42 43</body> 44</html> 45