PrettyPrint Code Snippets Blogger Post

It seemed like a reasonable expection to be able to post snippets of code in a blog post. But alas it is not a straight forward task. After a bit of research the leading option appears to be SyntaxHighlighter by Alex Gorbatchev. While there are a number of articles which describe the installation and configuration of SyntaxHighligher here are the steps I took. Your mileage may vary, and I would recommend reading the post by Zobayer Hasan and Bloggermint.

In order to avoid the need to host the files yourself, I would suggest using files hosted by Alex Gorbatchev. Go to Dashboard ⇒ Layout ⇒ Edit Html and find the tag in your template. It will be near the top of the file.

<head>

Paste the following code after the <head> tag and press the Save Template button.

This entry was posted on Aug 11, 2010
, Wednesday, August 11, 2010 and is filed under blogger template. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response.