gulp-inline-css
gulp-inline-css copied to clipboard
Inline linked css in an html file. Useful for emails.
Plugin works wonderful for my HTML email needs, except it's not adding styles to conditional statements. **What it looks like:** `` **What it should look like:** ``
Hi everyone, is there an option to prevent inlining on parts or areas of the document? e.g.: ``` Some Headline Some Textand some more Text ... ``` thanks, Ralf
Most frameworks as bootstrap or what ever set styles on all tags using * {...} In some cases there should be an option to exclude tags (as meta, title,...) from...
My gulp src begins with: ``` dist/**/*.html ``` My stylesheet has the following path: ``` /css/app.css ``` I call InlineCSS: ``` javascript .pipe($.inlineCss, { applyStyleTags: false, removeStyleTags: false, removeLinkTags: true,...
**This plugin converts this:** ``` html ``` **To This:** ``` html ``` --- This is invalid markup, and while I'm sure many of the new browsers/renderers will not have a...
Setting `{removeStyleTags: true}` isn't removing empty style tags. After inlining the CSS (which works as expected) all of the style blocks in `` are emptied, but remain in the output:...
I'd love to use something like this: ``` js gulp.src(['index.html', 'styles/*.css']) .pipe(if('*.html', inlineCss({ parse: false, stream: '*.css' }))) ``` Which would just use all CSS files from the stream and...
Hi Guys, I'm planning to use this module to create an email and it works great, but with one problem. If I have a tag that is not found in...
I would be nice to have the possibility to bypass any style or link on the inline. Something like this: ``` ``` Idea from [here](https://github.com/yargalot/Email-Builder#documentation). What do you think ?
For things like media queries, `:hover` selectors, etc. which can't be inlined, it would be awesome to have this task dump all those things into a `` tag in the...