Skip to content

Commit

Permalink
Merge a8503b8 into bdf7698
Browse files Browse the repository at this point in the history
  • Loading branch information
nimitzshah committed May 19, 2015
2 parents bdf7698 + a8503b8 commit 8036cf2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ a roots extension for inlining your CSS properties into the style attribute in a

- make sure you are in your roots project directory
- `npm install roots-inline-css --save`
-

### Usage

Modify your `app.coffee` files to include roots-inline-css

```coffee
# app.coffee
rootsInlineCss = require('roots-inline-css')
Expand All @@ -21,6 +24,9 @@ a roots extension for inlining your CSS properties into the style attribute in a
options = { files: '/path/**.html', applyStyleTags: true }
extensions: [ rootsInlineCss(options) ]
```
This extension provides a way for you to inline your html with css. By default all of your `html` files will be inlined however you can specify through options which files you want inlined either with a single file or a [glob expression]( https://github.com/isaacs/minimatch).

A full list of options can be found [here](https://github.com/jonkemp/inline-css).

### License & Contributing

Expand Down

0 comments on commit 8036cf2

Please sign in to comment.