Thursday, January 26, 2012

Encode and format my code for blog post

This is the code formatter for my preferred style,

encode special char '<', '>', '"' and '&'
change 'tab' to space x 4
color comment line/block (starts with '//' or '/*') to dark green
color doc block (starts with '/**' or '<!--') to dark blue
no break line, has horizontal scroll bar

** tested at blogger and chrome only :)

Download: The source is at github

1 comment:

  1. You made some pretty good points. Thanks for posting this!

    How much does it cost to develop an On Demand Computer Technician Hiring App? The App Ideas is leading web and Mobile App development. We provide the best IT Services at best rates. Contact us now!