add line "--type-add=ruby=.haml" to ~/.ackrc

Best results in other decks

haml.info

Haml renders HTML with indentation reflecting the nesting level of elements. When it comes to white-space preserving content, this may become a problem: the content will be rendered including...

World Better: Without Extra Indentation Render with tilde ~ instead of equals = to keep Haml from indenting content: .nest %span Reference %pre ~ content Reference Hello World Textareas In some versions...

Haml 6 was a major rewrite with performance in mind. To achieve a performance improvement of 1.7x, some design trade-offs had to be made. The most notable change...

...might be the simplified attribute rendering. In Haml 5, attribute rendering knew two special cases: an attribute with value true would be rendered without a value, an attribute with a...

Search in all decks