Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from msgpack/syntax-highlight

Added syntax highlight support
  • Loading branch information...
commit d4215b4a44605c23613d169aac47f683af6eac7f 2 parents c4295c6 + 33ccc9f
@frsyuki frsyuki authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  index.html.erb
View
3  index.html.erb
@@ -14,6 +14,8 @@
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,200' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/all.js" ></script>
<script type="text/javascript" src="js/prettify/prettify.js" ></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+ <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
@@ -27,6 +29,7 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
+ $(function(){$('pre > code').addClass('prettyprint');prettyPrint();});
</script>
</head>
<body onload="prettyPrint();changeQuickStart(document.getElementsByClassName('qs')[0].id,document.getElementsByClassName('qs-a')[0])">
Please sign in to comment.
Something went wrong with that request. Please try again.