Skip to content

Commit

Permalink
Merge pull request attilabuti#11 from kvnol/fix-snippets
Browse files Browse the repository at this point in the history
Added alt attribute on 'mjimage'
  • Loading branch information
attilabuti authored Oct 5, 2017
2 parents 39d5346 + 90592cc commit 1e3e12c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions snippets/mjml.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"mjcolumn": {
"prefix": "mjcolumn",
"body": [
"<mj-column>",
"\t$1",
"<mj-column width=\"$1\">",
"\t$2",
"</mj-column>"
],
"description": "MJML Column",
Expand Down Expand Up @@ -133,7 +133,7 @@
},
"mjimage": {
"prefix": "mjimage",
"body": "<mj-image src=\"$1\" />",
"body": "<mj-image src=\"$1\" alt=\"$2\" />",
"description": "MJML Image",
"scope": "source.mjml"
},
Expand Down Expand Up @@ -333,8 +333,8 @@
"\t<mj-body>",
"\t\t<mj-container>",
"\t\t\t<mj-section>",
"\t\t\t\t<mj-column>",
"\t\t\t\t\t$3",
"\t\t\t\t<mj-column width=\"$3\">",
"\t\t\t\t\t$4",
"\t\t\t\t</mj-column>",
"\t\t\t</mj-section>",
"\t\t</mj-container>",
Expand Down

0 comments on commit 1e3e12c

Please sign in to comment.