Apr
03
03
Look, WordPress is great. I use it on doDesign and have become very familiar to it. I’ll never understand, however, why WordPress doesn’t accept code in posts. I recently had to go through all my posts and repost every line of code because some of the characters got messed up. Why is it so hard? Why can’t WordPress support code in posts?
I have no idea. WordPress acknowledges the problem. In fact, they let you vote to fix the problem in WordPress 2.8. Unfortunately it did not make the list. Why? I don’t know.
For now, however, I’ll be using the Syntax Highlighter plugin. It posts the code correctly, but if you edit the post you’ll need repost the code. Oh well…

I agree with you that wordpress blows when it comes to code in posts.
A lot of blogs now seem to be using the Google Syntax Highlighter (http://wordpress.org/extend/plugins/google-syntax-highlighter/) in the posts.
Hope this might be of any help
I’m actually a WordPress plugin based on that Syntax Highlighter. Either way I still run into problems.
I want to post code in comments. The
tag seems to not work on my blog oOHey,
Use this plugin here:
http://coffee2code.com/wp-plugins/preserve-code-formatting/
It works wonders!