Created
June 26, 2014 19:28
-
-
Save michaek/972e76afadc12a0fbe42 to your computer and use it in GitHub Desktop.
A bucket for highlighted code
This file contains hidden or 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
{ | |
"name": "code", | |
"version": "0.0.0", | |
"authors": [ | |
"Michael Hellein <[email protected]>" | |
], | |
"license": "All Rights Reserved", | |
"private": true, | |
"ignore": [ | |
"**/.*", | |
"node_modules", | |
"bower_components", | |
"test", | |
"tests" | |
], | |
"dependencies": { | |
"highlightjs": "~8.0.0" | |
} | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CODES</title> | |
<link rel="stylesheet" type="text/css" href="bower_components/highlightjs/styles/googlecode.css"> | |
<style type="text/css"> | |
pre code { | |
font-family: Consolas; | |
} | |
</style> | |
</head> | |
<body> | |
<pre><code> | |
if (true) { | |
var foo = 'bar'; | |
} | |
</code></pre> | |
<script type="text/javascript" src="bower_components/highlightjs/highlight.pack.js"></script> | |
<script type="text/javascript"> | |
hljs.initHighlightingOnLoad(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment