Last Updated: July 26, 2022
·
40.43K
· renegr

erb to haml converter

Ever needed to convert erb to haml?
Just use the Html2Haml Tool provided at http://html2haml.heroku.com/.

7 Responses
Add your response

Here's another gem that I use all of the time: http://www.htmltohaml.com

over 1 year ago ·

Did you ever tried this link? Even by name you can see that it's HTML to HAML converter, instead of ERB to HAML

over 1 year ago ·

Yup I tried it back than, and was happy with the results. I did check again if ERB can still be converted, and it works.

Did it work for you?

over 1 year ago ·

Found this online tool to convert erb to slim work perfectly https://erb2slim.herokuapp.com

over 1 year ago ·

<%= form_tag do %>
Form contents
<% end %>

over 1 year ago ·

If you are using Atom, you can also use their Html2Haml converter plugin https://atom.io/packages/html2haml without even leaving your editor ;)

over 1 year ago ·

I tried and while everything suits

over 1 year ago ·