Skip to content

Commit

Permalink
Merge pull request #2 from arthurkatz/master
Browse files Browse the repository at this point in the history
adding missing mjml snippets
  • Loading branch information
ngarnier authored Oct 21, 2016
2 parents 76d5108 + d0690a6 commit 36958c2
Show file tree
Hide file tree
Showing 17 changed files with 106 additions and 13 deletions.
6 changes: 6 additions & 0 deletions mjall.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[<mj-all $1 />]]></content>
<tabTrigger>mjall</tabTrigger>
<description>MJML - MJML All</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjattributes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-attributes>
$1
</mj-attributes>]]></content>
<tabTrigger>mjattributes</tabTrigger>
<description>MJML - MJML Attributes</description>
<scope>text.mjml.basic</scope>
</snippet>
6 changes: 6 additions & 0 deletions mjclass.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[<mj-class name="$1" $2/>]]></content>
<tabTrigger>mjclass</tabTrigger>
<description>MJML - MJML Class</description>
<scope>text.mjml.basic</scope>
</snippet>
2 changes: 1 addition & 1 deletion mjcontainer.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
$1
</mj-container>]]></content>
<tabTrigger>mjcontainer</tabTrigger>
<description>MJML - MJML container</description>
<description>MJML - MJML Container</description>
<scope>text.mjml.basic</scope>
</snippet>
6 changes: 6 additions & 0 deletions mjdivider.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[<mj-divider $1 />]]></content>
<tabTrigger>mjdivider</tabTrigger>
<description>MJML - MJML Divider</description>
<scope>text.mjml.basic</scope>
</snippet>
6 changes: 6 additions & 0 deletions mjfont.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[<mj-font name="$1" href="$2" />]]></content>
<tabTrigger>mjfont</tabTrigger>
<description>MJML - MJML Font</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjgroup.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-group>
$1
</mj-group>]]></content>
<tabTrigger>mjgroup</tabTrigger>
<description>MJML - MJML Group</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjhead.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-head>
$1
</mj-head>]]></content>
<tabTrigger>mjhead</tabTrigger>
<description>MJML - MJML Head</description>
<scope>text.mjml.basic</scope>
</snippet>
10 changes: 10 additions & 0 deletions mjhero.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[<mj-hero>
<mj-hero-content>
$1
</mj-hero-content>
</mj-hero>]]></content>
<tabTrigger>mjhero</tabTrigger>
<description>MJML - MJML Hero</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjhtml.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-html>
$1
</mj-html>]]></content>
<tabTrigger>mjhtml</tabTrigger>
<description>MJML - MJML Html</description>
<scope>text.mjml.basic</scope>
</snippet>
6 changes: 2 additions & 4 deletions mjimage.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<snippet>
<content><![CDATA[<mj-image>
$1
</mj-image>]]></content>
<content><![CDATA[<mj-image src="$1" />]]></content>
<tabTrigger>mjimage</tabTrigger>
<description>MJML - MJML image</description>
<description>MJML - MJML Image</description>
<scope>text.mjml.basic</scope>
</snippet>
6 changes: 6 additions & 0 deletions mjinclude.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[<mj-include path="$1" />]]></content>
<tabTrigger>mjinclude</tabTrigger>
<description>MJML - MJML Include</description>
<scope>text.mjml.basic</scope>
</snippet>
7 changes: 7 additions & 0 deletions mjlocation.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<snippet>
<content><![CDATA[<mj-location>
adress="$1" />]]></content>
<tabTrigger>mjlocation</tabTrigger>
<description>MJML - MJML Location</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjraw.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-raw>
$1
</mj-raw>]]></content>
<tabTrigger>mjraw</tabTrigger>
<description>MJML - MJML Raw</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 0 additions & 8 deletions mjrow.sublime-snippet

This file was deleted.

8 changes: 8 additions & 0 deletions mjstyle.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-style>
$1
</mj-style>]]></content>
<tabTrigger>mjstyle</tabTrigger>
<description>MJML - MJML Style</description>
<scope>text.mjml.basic</scope>
</snippet>
8 changes: 8 additions & 0 deletions mjtitle.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[<mj-title>
$1
</mj-title>]]></content>
<tabTrigger>mjtitle</tabTrigger>
<description>MJML - MJML Title</description>
<scope>text.mjml.basic</scope>
</snippet>

0 comments on commit 36958c2

Please sign in to comment.