Scroll to navigation

haml(1) General Commands Manual haml(1)

NAME

haml - Translates Haml markup into its HTML equivalent

SYNOPSIS

haml [options] [INPUT] [OUTPUT]

DESCRIPTION

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

OPTIONS

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

SEE ALSO

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.

AUTHOR

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