- Download the zip
- Open the zip
- Double click Mustache.tmbundle
Created
March 6, 2010 10:27
-
-
Save defunkt/323624 to your computer and use it in GitHub Desktop.
Installing Mustache.tmbundle
<snippet>
<content><![CDATA[
{{${1:#${2:tag}}}${1/^([#^])?(.*)$/(?1:})/}${3}${1/^([#^])?(.*)$/(?1:{{\/$2})/}
]]></content>
<tabTrigger>{</tabTrigger>
</snippet>
that works for sublime text 2
you were missing a * after the . in the regular expression
thanks, got caught by the markdown thing
Thank you. But I see that syntax for the form src="{{LexieFile}}" get's no syntax coloring. It seems as if the "" mess it up. True? Is there a way around that?
Bob
--
Cod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the textmate bundle. I have added the following snippet that I find too usefull not to share. I bind to tab expand of
{
:edit: formatting