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.

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

1 Comments:

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

    http://www.blogpandit.com/2009/05/add-code-snippet-to-blogger-mystery.html

    By Anonymous Amey, at 12:10 AM  

Post a Comment

Links to this post:

Create a Link

<< Home