Friday, March 6, 2009

Source Code Encoding tool for posting to a Blog

I faced a strange dilemma while trying to publish a piece of code to my blog post. The JavaScript code that I was trying to post was getting truncated and not showing up properly due to the embedded DHTML code in it. I found out a good tool to encode the markup to make it suitable for publishing in a Blog post:

SimpleBits Converter

Instructions from the website:
Enter normal (X)HTML in the markup box below.
Press "Process" and it will spit out entity-encoded markup suitable for <code> examples.
Use spaces in increments of two for nesting indents.


Now looking for a converter / tool that can beautifully format, color & print out Java Code for publishing in a post !

3 comments:

bathmate said...

wow nice article


Bathmate

bathmate said...

wow nice article


Bathmate

Darshan Shah said...

Good to see this article helping you out!

LinkWithin

Related Posts Plugin for WordPress, Blogger...