| What it is | Safe, customer facing template language for flexible web apps | A simple, expressive, safe and Shopify compatible template engine in pure JavaScript | A very fast and expressive template engine | HTML templating engine for Ruby with indentation-based, end-tag-free markup |
| Features | - no code evaluation
- output with filters
- tags for loops, conditions and assignments
- separate parse and render
- custom filters and tags
- error modes from lax (the default) to strict2
| - Shopify, Jekyll and GitHub Pages compatible
- Node.js, browser and CLI
- TypeScript types
- partials and layouts
- template caching
- custom tags and filters
- online playground
| - template inheritance and inclusion
- macros
- HTML autoescaping
- sandboxed environment
- asyncio support
- Babel i18n
- JIT or ahead-of-time compilation to Python
- extensible filters, tests and syntax
| - indentation-based markup with automatic closing tags
- %tag syntax with CSS-style #id and .class shorthand; div is the default tag
- Ruby-style hash or HTML-style attributes
- embedded Ruby with = for output and - for logic
- Rails support by adding the gem; haml-rails replaces ERB generators
- haml render command-line tool to compile templates to HTML
|