Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to inline-css #2

Merged
merged 1 commit into from
May 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ a roots extension for inlining your CSS properties into the style attribute in a

### Usage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put the app.coffee example back in the Usage section


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

```coffee
# app.coffee
rootsInlineCss = require('roots-inline-css')
Expand All @@ -22,7 +24,11 @@ a roots extension for inlining your CSS properties into the style attribute in a
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

- Details on the license [can be found here](LICENSE.md)
- Details on the license [can be found here](license.md)
- Details on running tests and contributing [can be found here](contributing.md)