Snippets of Code: Adding syntax highlighting into Tumblr
After much googling around, I found two popular ways to add syntax highlighting into Tumblr:
I tried the Syntax Highlighter at first and spent a really long time trying to get it to work. When it finally did, it slowed the loading…
Prettify is pretty neat (LOL). These instructions are good, but since this was last written, there’s an even easier way then written here, according to the Prettify Getting Started notes. Just add the script tag:
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
