DOKK / manpages / debian 12 / ruby-haml / haml.1.en
haml(1) General Commands Manual haml(1)

haml - Translates Haml markup into its HTML equivalent

haml [options] [INPUT] [OUTPUT]

Uses the Haml engine to parse the selected template and outputs the result to the specified file.

Install Haml and Sass to a Rails project
Just check syntax, don't evaluate.
Read input from standard input instead of an input file
Show a full traceback on error
Output style. Can be indented (default) or ugly.
Output format. Can be xhtml (default), html4, or html5.
Escape HTML characters (like ampersands and angle brackets) by default.
Set attribute wrapper to double-quotes (default is single).
Same as 'ruby -r'.
Same as 'ruby -I'.
Print out the precompiled Ruby source.
-?, -h, --help
Show a usage summary
Print version

This program is shipped as part of the libhaml-ruby1.8 library package, you can check its corresponding documentation can be found in the libhaml-ruby-doc package.

This manual page was written by Gunnar Wolf <gwolf@debian.org>, based on the command-line output of this program, for the Debian GNU/Linux system (but may be freely used by others).

December 18, 2008