I'm trying to build a web app using Ruby on rails, but I have a code in slim instead of HTML file(index.html.erb). How I can covert the slim code to HTML?
Asked
Active
Viewed 2,710 times
0
-
1Possible duplicate of [How can I convert html.slim to html.erb?](https://stackoverflow.com/questions/23277482/how-can-i-convert-html-slim-to-html-erb) – bo-oz May 09 '19 at 14:45
1 Answers
2
It's quite easy. If you want to use an online tool there are plenty available online with a simple google search. If you'd like to convert an actual file this script seems to do the job well enough. https://gist.github.com/keewon/66627851aeb662b12f54

Jordan Lagan
- 222
- 2
- 13