Atom Editor package providing syntax support for MJML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grammars
settings
snippets
spec
.coffeelintignore
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.md init Jan 28, 2016
README.md
coffeelint.json
package.json

README.md

Language MJML

Adds syntax highlighting and snippets to MJML files in Atom.

This is a fork from language-html by atom

Installation

apm install language-mjml

Usage

Template

Type mjml- and hit to see the magic happen

mjml-<tab>

# will expand to

<mjml>
  <mj-head>
    <mj-title></mj-title>
    <mj-attributes>

    </mj-attributes>
  </mj-head>
  <mj-body>
      <mj-section>
        <mj-column>

        </mj-column>
      </mj-section>
  </mj-body>
</mjml>

Components

type any mjml tag name, without mj- and hit to see the magic happen

body<tab>

# will expand to

<mj-body>

</mj-body>

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.