Created
December 22, 2014 05:49
-
-
Save danyalzia/49f8e249ba608e025be9 to your computer and use it in GitHub Desktop.
Faster way to load Prettify
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
<!DOCTYPE html> | |
<head> | |
<title> | |
Prettify examples | |
</title> | |
<!-- For Syntax Highlighting --> | |
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=css&skin=sunburst"></script> | |
</head> | |
<body> | |
<h1>Hello World Program</h1> | |
<h2>C++</h2> | |
<pre class="prettyprint"> | |
<code> | |
#include <iostream> | |
int main() { | |
std::cout << "Hello, Prettify!\n"; | |
} | |
</code> | |
</pre> | |
<h2>Python</h2> | |
<pre class="prettyprint"> | |
<code> | |
print("Hello, World!") | |
</code> | |
</pre> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment