Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added syntax highlight support #12

Merged
merged 1 commit into from

2 participants

@oza
Collaborator

Signed-off-by: Tsuyoshi Ozawa ozawa.tsuyoshi@gmail.com

@oza oza added syntax highlight support
Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>
33ccc9f
@frsyuki frsyuki merged commit d4215b4 into master
@frsyuki
Owner

Cool!

@frsyuki frsyuki deleted the syntax-highlight branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 14, 2013
  1. @oza

    added syntax highlight support

    oza authored
    Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>
This page is out of date. Refresh to see the latest.
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])">
Something went wrong with that request. Please try again.