You can expand Zen Coding templates with your own live templates.
Suppose you have a template entry with the following template text:
<entry type="$TYPES$">$END$ <entry>
To generate a list of entries, you just need to type “entry-list<entry[number=$]*5″
and press TABTAB
By default, the number
attribute will be generated before type
To customize the position where it is generated, you need to add the ATTRS
variable to your template, for example:
<entry type="$TYPES$" $ATTRS$>$END$ <entry>
variable must have an empty string as the default value and should be skipped.