The engine's main goal is reduce the syntax to the essential parts of the template without adding to much extra time to read the documentation.
A Slim template can look more like HAML syntax by using the IDs and classes shortcuts, but their use is optional.
Slim will strive to maintain simplicity.
Slim provides optional syntax support so the developer can customize it into his own.
What's New in This Release: [ read full changelog ]
· Allow spaces around attributes, e.g 'a [ href = url ] text' and 'a href = url text'
· Added Unicode support for tags and attributes (Issue #212)
· Generate missing `do` keywords for code blocks (see #342)
· Logic-less: Add keyword `self` for string access
· Added Slim::ERBConverter, require 'slim/erb_converter'
· Added option '-e' for ERB conversion to slimrb
· Added syntax for trailing or leading whitespace after tag, e.g. input>, input<
· Added syntax for trailing or leading whitespace after output, e.g. =>, =<