We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
can you tell me which inliner processor you used to generate html-inlined. I have some changes in body and your inlined version is not much readable.
The text was updated successfully, but these errors were encountered:
I used Zurb for this. Although on production projects I'll often use Premailer or Juice.
Sorry, something went wrong.
+1 for Juice!
Like Premailer and Zurb Ink, Juice has a web version that also allows you to set a lot of different options: http://automattic.github.io/juice/
Here's how I use Juice in a gulp workflow:
gulp
var mapStream = require('map-stream'); var juice = require('juice'); gulp.task('inline-email', function() { // Juice options var options = { preserveMediaQueries: true, preserveImportant: true, webResources: { images: false } }; return gulp.src('src/email*.html') .pipe(mapStream(function(file, done) => { var basename = path.basename(file.path); var target = path.join('dist', basename); juice.juiceFile(file.path, options, function(err, html) => { fs.writeFileSync(target, ''); fs.appendFileSync(target, html); }); done(); })); });
No branches or pull requests
can you tell me which inliner processor you used to generate html-inlined.
I have some changes in body and your inlined version is not much readable.
The text was updated successfully, but these errors were encountered: