Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> ruby >> ruby-slim
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-slim  ]

套件: ruby-slim (3.0.7-1)

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)
    或者 ruby-interpreter
    套件暫時不可用
  • dep: ruby-temple (>= 0.6.6~)
    template compilation framework in Ruby
  • dep: ruby-tilt (>= 1.3.3~)
    Generic interface to multiple Ruby template engines

下載 ruby-slim

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 33.8 kB123 kB [文件列表]