Last Updated: July 26, 2022
·
40.42K
· 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 ·
  NODES
Community 1
iOS 2
Javascript 7
OOP 1
os 6
text 1
web 2