Monday, January 28, 2008

Posting Code on Blogger

A fellow blogger recently posted some unformatted code samples on his Blogger blog and...well, it was tough to read to say the least (hey, at least he's posting code). I did some investigation and found:
Update (4/1/2008): I finally did this. My steps:
  1. Download latest syntax highlighting code
  2. Expand .rar with WinRAR
  3. Uploaded all the syntax highlighting files to Google Pages
  4. Followed instructions here to change my Blogger template. (NOTE: remove errant link close tag...it's already closed)
  5. Updated above template code with pointers to my code files hosted on Google Pages
  6. Saved Blogger template
  7. Wrap code with pre tags as described here.

No comments: