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

Validating MJML #26

Open
FabioFleitas opened this issue Jul 6, 2017 · 2 comments
Open

Validating MJML #26

FabioFleitas opened this issue Jul 6, 2017 · 2 comments

Comments

@FabioFleitas
Copy link

From @iRyusa's comment here it seems like you guys setup MJML validation. Could we use that with gulp-mjml?

@FabioFleitas
Copy link
Author

Bumping this up in case there is a solution

@rmelchner
Copy link

const gulp = require('gulp');
const mjml = require('gulp-mjml');

//MJML Engine 
 const mjml2html = require('mjml');

 gulp.pipe(mjml(mjml2html, { validationLevel: 'strict' }))

You can pass it to the Mjml-Engine in gulp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants