The Bistri Developer Blog

The Bistri Developer Blog

Adding Source Code Highlighting into Tumblr

Bistri Team October 6, 2011 tip

Pretty, Simple, Sexy : Google’s Prettify

1. Add this code to your Tumblr Theme



  
 

2. Copy/Paste your code in a new Text Post

3. Click on the HTML button to edit the code of your Post

4. Add

 and 

around your code, and you are done