Skip to content

Instantly share code, notes, and snippets.

@tomraithel
Last active October 12, 2015 20:48
Show Gist options
  • Save tomraithel/4085460 to your computer and use it in GitHub Desktop.
Save tomraithel/4085460 to your computer and use it in GitHub Desktop.
SUBLIME: Create a snippet
<snippet>
<!-- Save this file in ~\Library\Application Support\Sublime Text 2\Packages\User\whatevername.sublime-snippet -->
<content><![CDATA[
<a class="button-lookalike ${1:primary} green" data-iconclass="buttoniconright arrow-right" href="${2:#}">${3:link}</a>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>ts.button</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>*.html</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment