Viewed 766 times

Does anyone here know of good batch file code indenters or beautifiers?

Specifically for PHP, JS and SGML-languages.

Preferably with options as to style.

2 answers given for "Batch code indenters and beautifiers"

The following page has code on it to tidy Javascript (written in javascript as well):

There are various ways to tidy SGML based files (i.e. XML) - HTMLTidy will often do the trick, and there are various 'pretty print' implementations in various languages out there.

And finally a link to a web site with PHP code for pretty printing PHP:

For HTML/XML HTML Tidy is the best option: