Last active
August 29, 2015 14:16
-
-
Save nutti/fa3282510be40ab6653e to your computer and use it in GitHub Desktop.
[Javascript] highlight.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="css/ext/github.css" type="text/css" /> | |
<script type="text/javascript" src="js/ext/highlight.pack.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#source pre code').each(function(i, block) { | |
hljs.highlightBlock(block, block.className); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment