Skip to content

Instantly share code, notes, and snippets.

@Sleavely
Last active December 27, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sleavely/7322606 to your computer and use it in GitHub Desktop.
Save Sleavely/7322606 to your computer and use it in GitHub Desktop.
Backtick - Prettify
(function a() {
var a, b;
Array.prototype.forEach.call(document.querySelectorAll("pre"), function (a) {
a.className = "prettyprint linenums"
}), a = document.createElement("script"), a.onload = function () {
prettyPrint()
}, a.src = "https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=sunburst", document.body.appendChild(a)
})();
{"name":"Prettify","description":"Inject syntax highlighting","icon":"http://upload.cip.nu/pfile.php?file_id=2470"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment