1. Copy the script tag.
Here’s what you need to copy into either your template, or into your post:
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" ></script>
2. HTML-encode your code
3. Copy & paste the code into a PRE element
Copy and paste the following, then copy & paste your HTML encoded code into it.
<pre class="prettyprint"> (code comes here) </pre>
Update in 2021: You may notice this is no longer running on Blogger, and no longer using this code.
Comments / questions
There's currently no commenting functionality here. If you'd like to comment, please use Twitter and @me there. Thanks!