Slim is a Ruby template language whose goal is reduce the syntax to the essential parts without becoming cryptic. The initial design of Slim is what you see on the home page. It started as an exercise to see how much could be removed from a standard html template (<, >, closing tags, etc.). As more people took an interest in Slim, the functionality grew and so did the flexibility of the syntax. Slim will strive to maintain simplicity, but not everyone's definition of a readable syntax is the same. The docs will show you the options. Short syntax without closing tags (Using indentation instead) HTML style mode with closing tags. Slim is a fast, lightweight templating engine with support for Rails 3 and later. It has been heavily tested on all major ruby implementations. We use continuous integration (travis-ci). Slim uses Temple for parsing/compilation and is also integrated into Tilt, so it can be used together with Sinatra or plain Rack.

Features

  • Elegant syntax
  • Automatic HTML escaping by default
  • Highly configurable
  • Supported by all major frameworks, like Rails, Sinatra, etc.
  • Full Unicode support for tags and attributes
  • Embedded engines like Markdown and Textile

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Slim Template

Slim Template Web Site

You Might Also Like
JobNimbus Construction Software Icon
JobNimbus Construction Software

For Roofers, Remodelers, Contractors, Home Service Industry

Track leads, jobs, and tasks from one easy to use software. You can access your information wherever you are, get everyone on the same page, and grow your business.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Slim Template!

Additional Project Details

Operating Systems

Windows

Programming Language

Ruby

Related Categories

Ruby Admin Templates, Ruby Languages Software

Registered

2021-10-21