Skip to content

Instantly share code, notes, and snippets.

@ogavrisevs
Last active December 15, 2015 03:39
Show Gist options
  • Save ogavrisevs/5196239 to your computer and use it in GitHub Desktop.
Save ogavrisevs/5196239 to your computer and use it in GitHub Desktop.
SyntaxHighlighter example
<!DOCTYPE html>
<html>
<head>
<title>SyntaxHighlighterSample</title>
</head>
<pre class="brush: java">public static void main(String args[]) {
System.out.println("Hello World!");
}
</pre>
<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'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'></script>
<script language='javascript' type='text/javascript'>
SyntaxHighlighter.all();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment