Tech Musings

Monday, July 16, 2007

Posting Code Snippets on Blogger

Okay, it was high time to bite the bullet and set up a <pre> style so I can more easily post snippets of code on this blog. I arrived at a solution using information from the following helpful places:

HTML Encoder
Use to easily translate < > symbols into format fit for posting.

Dimitri Gielis Blog
Good examples showing use of pre tag in blogger posts including CSS he received from Patrick Wolf.

A <pre> tag hack to wrap longer lines in this blogger template.


  • You may even check the following link, a much simpler workaround

    By Anonymous Amey, at 12:10 AM  

Post a Comment

Links to this post:

Create a Link

<< Home