diff --git a/README.md b/README.md index bef2f8e..8e559c0 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,9 @@ # mjml-syntax -Sublime package for the MJML syntax +Sublime package for the MJML syntax to provide syntax highlight and snippets for your MJML files. Forked from [Html-extended](https://github.com/orizens/html-extended) -Provide syntax highlight and snippets for your MJML files! - # Installation The easiest way to install the MJML syntax plugin for Sublime Text is through Package Control. The plugin is available [here](https://packagecontrol.io/packages/MJML-syntax). diff --git a/messages.json b/messages.json index 95fe78c..f0c6b42 100644 --- a/messages.json +++ b/messages.json @@ -1,4 +1,4 @@ { "install": "messages/install.txt", - "0.2.2": "messages/0.2.2.txt" -} \ No newline at end of file + "1.1.0": "messages/1.1.0.txt" +} diff --git a/messages/1.1.0.txt b/messages/1.1.0.txt index f85e8ee..3515907 100644 --- a/messages/1.1.0.txt +++ b/messages/1.1.0.txt @@ -7,3 +7,4 @@ To activate MJML-syntax, set the syntax using the Goto Anything or the View -> S Changes in 1.1.0 - Added missing snippets to match MJML 3.0.0. Thanks to @arthurkatz for his contribution. +- Fixed autocomplete to remove the extra "<" on unwrap. diff --git a/mjall.sublime-snippet b/mjall.sublime-snippet index 54abd79..fee1894 100644 --- a/mjall.sublime-snippet +++ b/mjall.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjall MJML - MJML All text.mjml.basic diff --git a/mjattributes.sublime-snippet b/mjattributes.sublime-snippet index f50c078..8b3b5f2 100644 --- a/mjattributes.sublime-snippet +++ b/mjattributes.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjattributes diff --git a/mjbody.sublime-snippet b/mjbody.sublime-snippet index b319aab..c880704 100644 --- a/mjbody.sublime-snippet +++ b/mjbody.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjbody diff --git a/mjbutton.sublime-snippet b/mjbutton.sublime-snippet index ea08c51..b17623d 100644 --- a/mjbutton.sublime-snippet +++ b/mjbutton.sublime-snippet @@ -1,7 +1,5 @@ - - $1 -]]> + $1 ]]> mjbutton MJML - MJML Button text.mjml.basic diff --git a/mjclass.sublime-snippet b/mjclass.sublime-snippet index addeb26..45e7281 100644 --- a/mjclass.sublime-snippet +++ b/mjclass.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjclass MJML - MJML Class text.mjml.basic diff --git a/mjcolumn.sublime-snippet b/mjcolumn.sublime-snippet index 3691f10..c19ff90 100644 --- a/mjcolumn.sublime-snippet +++ b/mjcolumn.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjcolumn diff --git a/mjcontainer.sublime-snippet b/mjcontainer.sublime-snippet index 84ca530..691a80e 100644 --- a/mjcontainer.sublime-snippet +++ b/mjcontainer.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjcontainer diff --git a/mjdivider.sublime-snippet b/mjdivider.sublime-snippet index 548519b..d31fc68 100644 --- a/mjdivider.sublime-snippet +++ b/mjdivider.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjdivider MJML - MJML Divider text.mjml.basic diff --git a/mjfont.sublime-snippet b/mjfont.sublime-snippet index ff21db9..105c931 100644 --- a/mjfont.sublime-snippet +++ b/mjfont.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjfont MJML - MJML Font text.mjml.basic diff --git a/mjgroup.sublime-snippet b/mjgroup.sublime-snippet index 7c63aee..896786d 100644 --- a/mjgroup.sublime-snippet +++ b/mjgroup.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjgroup diff --git a/mjhead.sublime-snippet b/mjhead.sublime-snippet index 7d89af9..fe0446e 100644 --- a/mjhead.sublime-snippet +++ b/mjhead.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjhead diff --git a/mjhero.sublime-snippet b/mjhero.sublime-snippet index ed2c28b..2b62054 100644 --- a/mjhero.sublime-snippet +++ b/mjhero.sublime-snippet @@ -1,9 +1,9 @@ - - - $1 - - ]]> + + + $1 + +]]> mjhero MJML - MJML Hero text.mjml.basic diff --git a/mjhtml.sublime-snippet b/mjhtml.sublime-snippet index a9cbb84..8aeacf9 100644 --- a/mjhtml.sublime-snippet +++ b/mjhtml.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjhtml diff --git a/mjimage.sublime-snippet b/mjimage.sublime-snippet index 4f16fbb..356ef07 100644 --- a/mjimage.sublime-snippet +++ b/mjimage.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjimage MJML - MJML Image text.mjml.basic diff --git a/mjinclude.sublime-snippet b/mjinclude.sublime-snippet index 5a33a00..173a9e3 100644 --- a/mjinclude.sublime-snippet +++ b/mjinclude.sublime-snippet @@ -1,5 +1,5 @@ - ]]> + ]]> mjinclude MJML - MJML Include text.mjml.basic diff --git a/mjinvoice.sublime-snippet b/mjinvoice.sublime-snippet index 2dfba89..b51588d 100644 --- a/mjinvoice.sublime-snippet +++ b/mjinvoice.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjinvoice diff --git a/mjlocation.sublime-snippet b/mjlocation.sublime-snippet index 821cb04..7fadc20 100644 --- a/mjlocation.sublime-snippet +++ b/mjlocation.sublime-snippet @@ -1,6 +1,5 @@ - - adress="$1" />]]> + ]]> mjlocation MJML - MJML Location text.mjml.basic diff --git a/mjraw.sublime-snippet b/mjraw.sublime-snippet index 3899f05..7182d02 100644 --- a/mjraw.sublime-snippet +++ b/mjraw.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjraw diff --git a/mjsection.sublime-snippet b/mjsection.sublime-snippet index b7c46dd..d9efd31 100644 --- a/mjsection.sublime-snippet +++ b/mjsection.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjsection diff --git a/mjsocial.sublime-snippet b/mjsocial.sublime-snippet index de14d97..b4b460e 100644 --- a/mjsocial.sublime-snippet +++ b/mjsocial.sublime-snippet @@ -1,7 +1,5 @@ - - $1 -]]> + ]]> mjsocial MJML - MJML Social text.mjml.basic diff --git a/mjstyle.sublime-snippet b/mjstyle.sublime-snippet index 71486ab..49528b1 100644 --- a/mjstyle.sublime-snippet +++ b/mjstyle.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjstyle diff --git a/mjtable.sublime-snippet b/mjtable.sublime-snippet index 6ffd70f..34d58c1 100644 --- a/mjtable.sublime-snippet +++ b/mjtable.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjtable diff --git a/mjtext.sublime-snippet b/mjtext.sublime-snippet index 59bb2a7..f809cb9 100644 --- a/mjtext.sublime-snippet +++ b/mjtext.sublime-snippet @@ -1,5 +1,5 @@ - + $1 ]]> mjtext diff --git a/mjtitle.sublime-snippet b/mjtitle.sublime-snippet index 2d438bc..b725cf3 100644 --- a/mjtitle.sublime-snippet +++ b/mjtitle.sublime-snippet @@ -1,7 +1,5 @@ - - $1 -]]> + $1 ]]> mjtitle MJML - MJML Title text.mjml.basic