Convert existing html.erb to Haml [closed] Convert existing html.erb to Haml [closed] ruby-on-rails ruby-on-rails

Convert existing html.erb to Haml [closed]


You can use from the command line html2haml

html2haml your_erb_file new_haml_file

If you want to convert all your files in one go, look at this article : http://shifteleven.com/articles/2008/06/08/converting-erb-to-haml-snippet


http://www.htmltohaml.com

A more user-friendly alternative to the selected answer.