My favorites | Sign in
Project Logo
                
Search
for
Updated Oct 27, 2007 by pbattley
HTMLBeautifier  

HTML Beautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.

Get it

Use 'sudo' on the last line if appropriate.

svn checkout http://paulbattley.googlecode.com/svn/htmlbeautifier/trunk htmlbeautifier
cd htmlbeautifier
ruby setup.rb

Use it

htmlbeautifier < source.rhtml > dest.rhtml

Comment by kmandrup, Jul 03, 2009

What is the textmate command to beautify the content of the current file and replace it with the beautified output? How would you apply it on a directoy, perhaps recursively from within textmate?

Comment by Sonia.Santosh, Oct 04, 2009

Thanks!! That was very useful!


Sign in to add a comment
Hosted by Google Code