foundation / inky

Convert a simple HTML syntax into tables compatible with Foundation for Emails.
http://foundation.zurb.com/emails
673 stars 106 forks source link

Sublime Text tag completion #98

Open alexiuspor opened 6 years ago

alexiuspor commented 6 years ago

Hi, is there a package for sublime text, which completes the tags like wrapper, container, row ... as emmet does for html tags? Thx, Alex

natebeaty commented 4 years ago

I was looking for the same, and ended up just making my own, e.g.:

row<tab>:

<snippet>
  <content><![CDATA[
<row>
  $1
</row>
]]></content>
  <tabTrigger>row</tabTrigger>
  <description>ZURB Inky Row</description>
  <scope>text.html</scope>
</snippet>

columns<tab>:

<snippet>
  <content><![CDATA[
<columns${1: small=""}${2: large=""}>
  $0
</columns>
]]></content>
  <tabTrigger>columns</tabTrigger>
  <description>ZURB Inky Columns</description>
  <scope>text.html</scope>
</snippet>

I'm sure I'll tweak these more as I start using Inky more, but this is a good starting point.