Skip to content

Instantly share code, notes, and snippets.

@agent-simon-s
Created November 8, 2017 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agent-simon-s/5593a46b81ffa44d01417612c3f6caa4 to your computer and use it in GitHub Desktop.
Save agent-simon-s/5593a46b81ffa44d01417612c3f6caa4 to your computer and use it in GitHub Desktop.
SJDS: HTML base btn icon w caption
<snippet>
<content><![CDATA[
<button class="btn {2:this}" type="button">
<span class="{3:icon} {4:this}"></span>
<span class="caption">{1:SUBMIT}</span>
</button>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ssbtn</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.html, source.cshtml</scope>
<description>SJDS: base btn icon+cap</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment