Skip to content

Commit 5e9eb80

Browse files
committed
Extract preferred_syntax from the list of Sass option caveats
Also switched to unordered lists since the order had no meaning and did not correspond to any Sass option order.
1 parent 39e0be3 commit 5e9eb80

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ properties that will be passed to Sass.
1616

1717
### Options
1818

19-
The [list of supported options](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options)
19+
- `preferred_syntax` - This option determines the default Sass syntax and file extensions that will be used by Rails generators. Can be `:scss` (default CSS-compatible SCSS syntax) or `:sass` (indented Sass syntax).
20+
21+
The [list of supported Sass options](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options)
2022
can be found on the Sass Website with the following caveats:
2123

22-
1. `preferred_syntax` - This option determines the default Sass syntax and file extensions that will be used by Rails generators. Can be `:scss` (default CSS-compatible SCSS syntax) or `:sass` (indented Sass syntax).
23-
2. `:style` - This option is not supported. This is determined by the Rails environment. It's `:expanded` only on development, otherwise it's `:compressed`.
24-
3. `:never_update` - This option is not supported. Instead set `config.assets.enabled = false`
25-
4. `:always_update` - This option is not supported. Sprockets uses a controller to access stylesheets in development mode instead of a full scan for changed files.
26-
5. `:always_check` - This option is not supported. Sprockets always checks in development.
27-
6. `:syntax` - This is determined by the file's extensions.
28-
7. `:filename` - This is determined by the file's name.
29-
8. `:line` - This is provided by the template handler.
24+
- `:style` - This option is not supported. This is determined by the Rails environment. It's `:expanded` only on development, otherwise it's `:compressed`.
25+
- `:never_update` - This option is not supported. Instead set `config.assets.enabled = false`
26+
- `:always_update` - This option is not supported. Sprockets uses a controller to access stylesheets in development mode instead of a full scan for changed files.
27+
- `:always_check` - This option is not supported. Sprockets always checks in development.
28+
- `:syntax` - This is determined by the file's extensions.
29+
- `:filename` - This is determined by the file's name.
30+
- `:line` - This is provided by the template handler.
3031

3132
### Example
3233

0 commit comments

Comments
 (0)