Skip to content

Commit

Permalink
Explain how to ignore link tags
Browse files Browse the repository at this point in the history
  • Loading branch information
fphilipe committed Jun 12, 2016
1 parent 1943171 commit e6736ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ If you're using this gem outside of Rails, you'll need to call
is done ideally in some kind of initializer, depending on the framework you're
using.

premailer-rails reads all stylesheet `<link>` tags, inlines the linked CSS
and removes the tags. If you wish to ignore a certain tag, e.g. one that links to
external fonts such as Google Fonts, you can add a `data-premailer="ignore"`
attribute.

## Usage

premailer-rails processes all outgoing emails by default. If you wish to skip
Expand Down

0 comments on commit e6736ae

Please sign in to comment.