[ 源代码: ruby-slim ]
软件包:ruby-slim(4.1.0-2)
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
- 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)