haml(1)

πŸ’– haml(1) β€” bestie edition πŸ’–

okay so real talk: this is the manual page for haml, and it lives in the General Commands Manual section of your man pages (that's the (1) bestie, that's literally what it means ✨).


🌸 NAME 🌸

haml β€” translates Haml markup into its HTML equivalent πŸ’…


✨ SYNOPSIS ✨

haml [options] [INPUT] [OUTPUT]

πŸ¦‹ DESCRIPTION πŸ¦‹

It uses the Haml engine to parse the template you picked, and then it outputs the result to the file you told it to. That's the whole vibe. Parse, translate, drop the HTML where you asked. Periodt. πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • --rails RAILS_DIR β€” Installs Haml and Sass into a Rails project. You hand it the RAILS_DIR and it does the deed 🫢
  • -c, --check β€” Just checks the syntax, bestie. It does not evaluate anything. It's giving "vibe check only, no commitment" ✨
  • -s, --stdin β€” Reads the input from standard input instead of from an input file πŸ“₯
  • --trace β€” Shows a full traceback when there's an error. Every single stack frame, no hiding, we see it all 😭
  • -t, --style NAME β€” Sets the output style. It can be indented (that's the default, the pretty one 🌸) or ugly.
  • -f, --format NAME β€” Sets the output format. It can be xhtml (the default, iconic), html4, or html5.
  • -e, --escape-html β€” Escapes HTML characters (think ampersands and angle brackets) by default. Safety first, we do not rawdog our markup πŸ’€
  • -q, --double-quote-attributes β€” Sets the attribute wrapper to double-quotes. Heads up: the default is single quotes.
  • -r, --require FILE β€” Same as ruby -r.
  • -I, --load-path PATH β€” Same as ruby -I.
  • --debug β€” Prints out the precompiled Ruby source. Peek behind the curtain, main character energy πŸ”₯
  • -?, -h, --help β€” Shows a usage summary. Helpful queen behavior πŸ‘‘
  • -v, --version β€” Prints the version. πŸŽ€

🌈 SEE ALSO 🌈

This program ships as part of the libhaml-ruby1.8 library package, and you can check its corresponding documentation in the libhaml-ruby-doc package. iykyk πŸ¦‹


πŸ’œ 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 it may be freely used by others). We love a generous icon 🫢


and that's the whole page bestie!! this one was dated December 18, 2008, and yeah, it's haml(1) β€” the one and only. go forth and translate your markup, you gorgeous little template wizard πŸ§šβ€β™€οΈπŸ’–βœ¨

πŸ“¦ where this page comes from