Blog (slim)

@fredwu 14 years ago | 1 min read | no comments
So, you are using Slim, right? If not, go check it out because it’s awesome. ;) Now, I don’t know about you but prior to Slim I use Haml quite a bit, and even though syntax-wise Haml and Slim have a lot in common, it’s still quite a challenge to convert all Haml templates to Slim templates. As a result, let me present you with a quick n’ dirty Haml2Slim converter! Check out the source code.
@fredwu 14 years ago | 1 min read | no comments
For the past few weeks I have started contributing to a small project - Slim. Slim is a fast, lightweight templating engine for Rails 3. It has been tested on Ruby 1.9.2 and Ruby/REE 1.8.7. Slim is heavily influenced by Haml and Jade. Andrew Stone who is the author of the project has posted a quick update on the latest feature additions to Slim. Please go check it out. The source code of Slim is available on Github.