Jeff Powers from Fluxcapacity came up with a formatting solution for all those bloggers who wants to retain their original code snippets from their editor onto WordPress blog.
Problem
The current WordPress rich text editor (v2.2) losses the original code formatting as one navigates between “Visual” and “Code” model. (See this post for more details)
Solution
Paste your original source code (eg from Visual Studio) onto the CodeoFormatter. It will help you to generate WordPress Editor-compatible markup to retain your snippet in it’s full glory before you paste it onto your blog.
Related link:





please send as java program code for image verification.
Pingback: CSharp Hello, World Program again with formatted code « Meganadha Reddy K.’s Weblog
Good job. However i noticed that some un-necessary span tags are present without closing span tag in the generated HTML Code.
Otherwise the tool is too good….
Thanks a lot…
Also, it seems to leave out the XML markup inside comments. e.g. /// Method summary
hm. thank you