Posting source code to Blogger
March 20th, 2006 at 1:49 pmIt’s very important for programming oriented bloggers to be able to post code to their blogs.
To post code, use the <pre> tag, placing <pre> before the code section, and </pre> after the code section. The tags should be placed in the ‘Compose’ section of the post editor, not in the ‘Edit Html’ section.
def greet puts "Enjoy posting code !" end
Related posts:

March 28th, 2006 at 2:37 pm
Better yet, use <pre><code>…</code></pre>
March 28th, 2006 at 4:23 pm
Thanks, I’ll try. What does <code> add ?