- English
- 日本語
Abstract
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.
Premise
You have Atom editor.
Install “language-haml”
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”.
It’s finish.
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 + /”.
Conclusion
I think that haml is very useful.