Files to include on HTML page:
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script> <script src='https://sites.google.com/site/simplyreddot/shBrushRedDot.js' type='text/javascript'></script> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/> <link href='https://sites.google.com/site/simplyreddot/shCoreRedDot.css' rel='stylesheet' type='text/css'/> <script type='text/javascript'> SyntaxHighlighter.all(); </script>
Case escape HTML code in:
<pre class="brush: RedDot"> ... </pre>
Nice one Jian, I shall be copying these over to my blog :)
ReplyDeleteTa,
John