Hello everybody, it’s candle.
In this time we will write haml with Atom.
I’m coding with emacs for all time. but sotimes I use atom.
When I open a haml file, there is no coloring and syntax, I try to add plugin.
You have Atom editor.
I heard most famous haml plugin is “language-haml”, let’s install it.
Select “Atom” → “Preferences …” from the menu.
Choose “install” of the left menu, insert “haml” into search field and press enter key.
At the top, press “install” button of “language-haml”.
You can write haml.
Create hello.haml as a test and write the next text.
= link_to root_path(), class: "big-font whiete" do banana .pokemon.get %p#head hello world -# comment out
An addition, you can comment out at the selected line using “Command + /”.
I think that haml is very useful.