Monkey ingredients - how to create a programming blog

Sunday, 18 October 2009

This should be a programming post but I know how hard is to set up the blog enviroment even for a programmer. So I choose to present the steps I took to create this blog.

After creating the blog and choosing a nice template for it, I had to add the syntax highlighting javascript. I usually use the one by Alex Gorbatchev. It's really simple, here you can find a sample how to configure and use it with Blogger: http://mlawire.blogspot.com/2009/07/blogger-syntax-highlighting.html


Make sure put the script in the <pre class="brush:js"> tag. And make sure that the <pre> tag has the correct class. Here is a list of the corresponding classes for each programming language. Olso make sure that you chage the < with &lt; and > with &gt;.



That's all.

0 comments:

Post a Comment