[ 原始碼: ruby-slim ]
套件:ruby-slim(4.0.1-3)
powerful (X)HTML templating engine with an elegant syntax
Slim is a template language whose goal is to reduce the view syntax to the essential parts without becoming cryptic.
A short list of the features:
- elegant syntax: short syntax without closing tags, HTML style mode with closing tags and configurable shortcut tags - automatic HTML escaping and support for Rails' `html_safe?` - highly configurable and extendable via plugins: logic less mode similar to Mustache and translator/I18n support among others. - high performance: comparable speed to ERB and streaming support in Rails - supported by all major frameworks (Rails, Sinatra, ...) - full Unicode support for tags and attributes on Ruby 1.9 - embedded engines like Markdown and Textile
其他與 ruby-slim 有關的套件
|
|
|
|
-
- dep: ruby (>= 2.0)
- Interpreter of object-oriented scripting language Ruby (default version)
-
- dep: ruby-temple (<< 0.9)
- template compilation framework in Ruby
- dep: ruby-temple (>= 0.7.6)
-
- dep: ruby-tilt (<< 2.1)
- Generic interface to multiple Ruby template engines
- dep: ruby-tilt (>= 2.0.6)