matsumos/grunt-slim — pull request #4 by IlanFrumer (2013-10-04 09:51:37+00:00)
Title: support for varibales

# example:

### gruntfile.coffee

```coffeescript
module.exports = (grunt)->

grunt.initConfig

slim:

dist:
options:
variables:
ext: ".min"

files: "index.html" : "index.slim"

dev:
options:
pretty: true
variables:
ext: ""

files: "index.html" : "index.slim"

grunt.loadNpmTasks 'grunt-slim'
```

### index.slim

```slim
link href="/assets/foundation#{ext}.css"
script src="/assets/angular#{ext}.js"
```