Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 842 Bytes

README.md

File metadata and controls

53 lines (36 loc) · 842 Bytes

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 tab to see the magic happen

<!-- 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 tab to see the magic happen. Ex: body

<!-- will expand to -->
<mj-body>

</mj-body>

Contributing

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