It is sometimes difficult to add code snippets your blog, for example using Blogger/Blogspot. Code involving xml or html tags might get parsed if you simply try to use the <pre> tag. A simple solution is to copy and paste your code snippet into this website, which transforms it to "readable" code. You may then enclose the resulting code in <pre> tags as usual.
For example, when I needed to write <pre> in the previous paragraph, I went to the above website, entered <pre>, and got <pre> back in return, which I simply copy and pasted back into the Blogger editor.
Showing posts with label Blogspot. Show all posts
Showing posts with label Blogspot. Show all posts
Friday, November 14, 2008
Subscribe to:
Posts (Atom)