Friday, August 10, 2007

Code Blog Formatter


I've released a quick GUI version of the code formatter I mentioned in the first blog post on here. If you use Blogger, another blog that doesn't screw with your tags, or just regular HTML, this will generate the code you need to color all your code, and allow overflow.

It seems that IE6 doesn't allow for the overflow: auto; style, but IE7, Firefox, Opera, and the rest should all be fine with it. (IE6 will just do word wrap.)

Best thing about this, it's a small, stand-alone executable (60KB). This means no installation, and completely portable. However, it does require .NET 2.0.

Downloads:
- Executable
- Source Code

Edit: Changed the file hoster to Microsoft SkyDrive.

Versions:
V1.1 - Fixed issue with Ctrl+A in the HTML box, added a scroll bar. You can now toggle line numbers and region formatting on or off before converting.
V1.0 - Initial Version

2 comments:

nullstring said...

this is so cool!

thank you very much for posting your stuff here!

and hey! it works really great here in Blogspot!

nullstring said...

btw, a little request

hope we could just paste the code somewhere and generates the html code too?