Want a super easy way to post source code to your blogger.com blog, without having to “upload” any dependencies (css and js files)? Yea I did too.

After coming across this Please Make A Note post and Geek Talkin Siebel’s post, I decided to take it a step further.  The technique I came up with was to use Alex Gorbatchev’s hosted current version of his SyntaxHighlighter.

Here are the steps:

  1. Login to your blogger.com blog, click on the ‘dashboard’ link, then click on the ‘Design’ tab, then click on the ‘edit HTML’ tab
  2. Now in the text area (scrollable input box) search for ‘</head>’ (ctrl+f in most modern browsers).  Note: when searching, omit the ‘ characters.
  3. Now add the following lines right before the </head> tag :
Advertisements