mjml-validator
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "mjml-validator", | ||
"description": "mjml-validator", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -1,7 +0,7 @@ | ||
# mjml-validator | ||
# Validating MJML | ||
MJML provides a validation layer that helps you building your email. It can detect if you misplaced or mispelled a MJML component, or if you used any unauthorised attribute on a specific component. It supports 3 levels of validation: | ||
- skip: your document is rendered without going through validation | ||
- soft: your document is going through validation and is rendered, even if it has errors | ||
- strict: your document is going through validation and is not rendered if it has any error | ||
* skip: your document is rendered without going through validation | ||
* soft: your document is going through validation and is rendered, even if it has errors | ||
* strict: your document is going through validation and is not rendered if it has any error | ||
@@ -17,3 +17,3 @@ By default, the level is set to `soft`. | ||
```bash | ||
$> mjml --validate template.mjml | ||
$> mjml --validate template.mjml | ||
``` | ||
@@ -24,3 +24,3 @@ | ||
```bash | ||
$> mjml -l skip -r template.mjml | ||
$> mjml -l skip -r template.mjml | ||
``` | ||
@@ -27,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8301