Created
April 1, 2015 13:58
-
-
Save anthonyec/08975d466229bae45966 to your computer and use it in GitHub Desktop.
Sublime Sublime Snipppets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<% console.log(${1:}) %>]]></content> | |
<tabTrigger>%cl</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore template console log</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<% _.each(${1:}, function(${2:}) { %> | |
${3:} | |
<% }) %>]]></content> | |
<tabTrigger>%each</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore template each statement</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<%- ${1:} %>]]></content> | |
<tabTrigger>%-</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore HTML-escaped template tags</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<% ${1:} %>]]></content> | |
<tabTrigger>%</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore execute template tags</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<% if (${1:}) { %> | |
${2:} | |
<% } else { %> | |
${3:} | |
<% } %>]]></content> | |
<tabTrigger>%ifelse</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore template if else statement</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<% if (${1:}) { %> | |
${2:} | |
<% } %>]]></content> | |
<tabTrigger>%if</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore template if statement</description> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<%= ${1:} %>]]></content> | |
<tabTrigger>%=</tabTrigger> | |
<scope>text.html</scope> | |
<description>Underscore interpolate template tags</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment