Code Formatting Solution for WordPress Bloggers

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:

  • Download WordPress CodeFormatter (Available in C# source or .EXE)

5 thoughts on “Code Formatting Solution for WordPress Bloggers

  1. Pingback: CSharp Hello, World Program again with formatted code « Meganadha Reddy K.’s Weblog

  2. 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…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s