- Get link
- X
- Other Apps
<!-- Include required JS files -->
<script src="js/shCore.js" type="text/javascript"></script>
<!--
At least one brush, here we choose JS. You need to include a brush for every
language you want to highlight
-->
<script src="css/shBrushJScript.js" type="text/javascript"></script>
<!-- Include *at least* the core style and default theme -->
<link href="css/shCore.css" rel="stylesheet" type="text/css"></link>
<link href="css/shThemeDefault.css" rel="stylesheet" type="text/css"></link>
<!-- You also need to add some content to highlight, but that is covered elsewhere. -->
<br />
<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>
<script src="js/shCore.js" type="text/javascript"></script>
<!--
At least one brush, here we choose JS. You need to include a brush for every
language you want to highlight
-->
<script src="css/shBrushJScript.js" type="text/javascript"></script>
<!-- Include *at least* the core style and default theme -->
<link href="css/shCore.css" rel="stylesheet" type="text/css"></link>
<link href="css/shThemeDefault.css" rel="stylesheet" type="text/css"></link>
<!-- You also need to add some content to highlight, but that is covered elsewhere. -->
<br />
<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>
function foo() { return "value"; }
function foo() { return "value"; }function foo() your code here
Comments
Post a Comment