Skip to content

Commit 5d18eba

Browse files
Update README.md
Adding Ruby syntax highlighting
1 parent a3b2526 commit 5d18eba

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ This gem provides official integration for Ruby on Rails projects with the Sass
66

77
Since Rails 3.1, new Rails projects will be already configured to use Sass. If you are upgrading to Rails 3.1 you will need to add the following to your Gemfile:
88

9-
gem 'sass-rails'
9+
```ruby
10+
gem 'sass-rails'
11+
```
1012

1113
## Configuration
1214

@@ -30,12 +32,13 @@ can be found on the Sass Website with the following caveats:
3032
- `:line` - This is provided by the template handler.
3133

3234
### Example
33-
34-
MyProject::Application.configure do
35-
config.sass.preferred_syntax = :sass
36-
config.sass.line_comments = false
37-
config.sass.cache = false
38-
end
35+
```ruby
36+
MyProject::Application.configure do
37+
config.sass.preferred_syntax = :sass
38+
config.sass.line_comments = false
39+
config.sass.cache = false
40+
end
41+
```
3942

4043
## Important Note
4144

0 commit comments

Comments
 (0)