Documentation Documentation


The tutorial is a great place to start if you aren't familiar with the language. It goes over the basic syntax for elements, as well as how to embed Ruby in the document.

Haml Reference

The Haml reference is the most complete documentation for Haml. It contains information on every language feature, all the options, and how to install it as a Ruby gem.


If you're having trouble or have a question, try the FAQs. If you don't find what you're looking for there, ask the Haml community.

API Documentation

Finally, if you want to look at the Haml implementation, check out the YARD API Documentation. This probably won't be too useful for most people, but if you're writing Ruby code to interact with Haml, it's a good place to look.