Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Support all Slim options #9

Open
beausmith opened this issue Mar 27, 2014 · 3 comments
Open

Support all Slim options #9

beausmith opened this issue Mar 27, 2014 · 3 comments

Comments

@beausmith
Copy link
Contributor

Using the below gruntfile config options, I tried to use sort_attrs option, but it doesn't seem to work.

slim:
  production:
    options:
      pretty: true
      sort_attrs: false # not supported
    files:
      'index.html': 'index.slim'

Does grunt-slim support all Slim options?

@noiseunion
Copy link

I would like to know this as well. I am trying to adjust the attr delimiters option for slim and it doesn't appear to be working.

@noiseunion
Copy link

nevermind I was able to find the answer in some documentation for using Gulp. Might be a good idea to add an example where slim specific options are being passed in for noobs like me. :)

slim: {
      options: {
        option: "attr_delims={'(' => ')', '[' => ']'}"
      },

@alovak
Copy link

alovak commented Dec 21, 2014

And now it is:

slim: {
  options: {
    option: "attr_list_delims={'(' => ')', '[' => ']'}"
  },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants