Convert Existing Html.erb To Haml


Answer :

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



There you go: http://html2haml.heroku.com/



EDIT: Moved to https://html2haml.herokuapp.com/



http://www.htmltohaml.com



A more user-friendly alternative to the selected answer.



Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy