@ecomailcz/mjml-migrate

4.4.0-ecm-27 • Public • Published

mjml-migrate

Purpose

Makes a template following the MJML 3 syntax compatible with MJML 4.

Installation

Clone the repo & npm install or install via NPM: npm install mjml-migrate

Usage

migrate <input> <output>

What happens

  • mj-container is removed and its attributes are passed to mj-body
  • Unitless values are converted to px
  • mj-social's syntax is replaced with the v4 syntax
  • Unsupported tags (defined in unavailableTags in config.js) are removed

Readme

Keywords

none

Package Sidebar

Install

npm i @ecomailcz/mjml-migrate

Weekly Downloads

0

Version

4.4.0-ecm-27

License

MIT

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • ecomail
  • tomsq