In fact, you can use Zen Coding to create HAML.
Example:
#main.with-shadow>h1.title+h2.subtitle+p
Will be done by default:
<div id="main" class="with-shadow"> <h1 class="title"></h1> <h2 class="subtitle"></h2> <p></p> </div>
If you want this statement to expand to HAML, add "| haml" to your abbreviation:
This should give you the following:
#main.with-shadow %h1.title %h2.subtitle %p
Read here to learn more about filters for Zen coding extensions.
source share