Facebook Social Icon Twitter Social Icon YouTube Social Icon

Help:Spielwiese

Revision as of 23:08, 15 January 2011 by René Schwarz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
From M.Eng. René Schwarz, Bremen/Merseburg
Jump to: navigation, search
<!-- Include required JS files -->
<script type="text/javascript" src="js/shCore.js"></script>
 
<!--
    At least one brush, here we choose JS. You need to include a brush for every
    language you want to highlight
-->
<script type="text/javascript" src="css/shBrushJScript.js"></script>
 
<!-- Include *at least* the core style and default theme -->
<link href="css/shCore.css" rel="stylesheet" type="text/css" />
<link href="css/shThemeDefault.css" rel="stylesheet" type="text/css" />
 
<!-- You also need to add some content to highlight, but that is covered elsewhere. -->
<pre class="brush: js">
function foo()
{
}
</pre>
 
<!-- Finally, to actually run the highlighter, you need to include this JS on your page -->
<script type="text/javascript">
     SyntaxHighlighter.all()
</script>