-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Sublime Mustache | ||
|
||
Mustache Syntax Definitions for Sublime Text | ||
Mustache Syntax Definitions and Snippets for Sublime Text 3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
{{! ${1:comment} }} | ||
]]></content> | ||
<tabTrigger>!</tabTrigger> | ||
<description>Mustache Comment</description> | ||
<scope>embedding.mustache</scope> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
{{^ ${1:variable} }} | ||
<!-- ${0:code...} --> | ||
{{/ ${1:variable} }} | ||
]]></content> | ||
<tabTrigger>else</tabTrigger> | ||
<description>Mustache Inverted Section</description> | ||
<scope>embedding.mustache</scope> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
{{# ${1:variable} }} | ||
<!-- ${0:code...} --> | ||
{{/ ${1:variable} }} | ||
]]></content> | ||
<tabTrigger>if</tabTrigger> | ||
<description>Mustache Section</description> | ||
<scope>embedding.mustache</scope> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
{{> ${1:partial} }} | ||
]]></content> | ||
<tabTrigger>inc</tabTrigger> | ||
<description>Mustache Partial</description> | ||
<scope>embedding.mustache</scope> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
{{{ ${1:variable} }}} | ||
]]></content> | ||
<tabTrigger>let</tabTrigger> | ||
<description>Mustache Unescaped Variable</description> | ||
<scope>embedding.mustache</scope> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
<snippet> | ||
<content><![CDATA[ | ||
{{ ${1:variable} }} | ||
]]></content> | ||
<tabTrigger>var</tabTrigger> | ||
<description>Mustache Escaped Variable</description> | ||
<scope>embedding.mustache</scope> | ||
</snippet> |