slim-mustache

Adding mustache/handlebars support to slim.

gem "slim-mustache"

require "slim/mustache"

~#products                   # {{#products}}name: {{name}}, price: {{price}}{{/products}}
  name: ~name, price: ~price

~#if user.active             # {{#if user.active}}<p>active</p>{{/if}}
  p active

this is ~(group syntax)      # this is {{group syntax}}

Contributing to slim-mustache

Copyright © 2015 Michel Benevento. See LICENSE.txt for further details.