Wednesday, April 1, 2009

Posting Code to Blog

Issue: You want to post some code to your blog but the it gets all messed up.


Quick/Visual/Learning:
Here are some tools I found to transform your code so it displays correctly;

from Force Monkey site

---Text From Site---
Postable
Then, you simple wrap <code></code> tags around your converted "HTML friendly" text, and wala! It's viewable in a Google Blog post (and can be copied by your readers!):


Here's another site that goes one better, giving you an option to transform the text into standard HTML code with colorized tags:

---End Text From Site---

No comments: