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 theRAILS_DIRand 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 beindented(that's the default, the pretty one πΈ) orugly.-f,--format NAMEβ Sets the output format. It can bexhtml(the default, iconic),html4, orhtml5.-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 asruby -r.-I,--load-path PATHβ Same asruby -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
- debian bookworm: ruby-haml 6.1.1-1+b1 Β· MIT
- debian trixie: ruby-haml 6.3.0-1 Β· MIT
- ubuntu jammy: ruby-haml 5.2.2-1 Β· MIT
- ubuntu noble: ruby-haml 6.1.2-1build2 Β· MIT
- ubuntu questing: ruby-haml 6.3.0-1
- ubuntu resolute: ruby-haml 7.2.0-1 Β· MIT
- ubuntu stonking: ruby-haml 7.2.2-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms