NataBilya / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Smarty support #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I think it would be very nice to add smarty support to zen coding. 

ei. fe#items>id

{foreach from=$items item=$id}
{/foreach}

Original issue reported on code.google.com by ntica...@gmail.com on 14 Apr 2010 at 2:51

GoogleCodeExporter commented 8 years ago
You can write your own set of snippets for Smarty language and contribute it to 
community.
For example, definition of your snippet will look like this:
'fe': '{foreach from=\\$${id} item=\\$${class}}\n\t${child}|\n{/foreach}'

And it should work like this: fe#items.id

Original comment by serge....@gmail.com on 3 May 2010 at 3:25

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 5 Dec 2010 at 4:12