Kit Feature Request
Quick, short summary:
It would be great if .kit had a really simply incrementer function, e.g. for IDs.
For instance, when protoyping stuff, I quite often create a form field definition file: in order to bind in the label, I give the form field an ID.
When building large forms, I will @import that form field definition file a number of times. However, because I have many instances of the same ID, the fields cannot operate properly.
This could be simply fixed with an incrementer variable: when Codekit compiles the files, it does a very simple count of the number of times that field is imported.
Example
See very basic example here.
Now, imagine that I could use something like $i as an incrementer:
<label class="perms-lbl" for="perms-read-$i"> <input type="radio" id="perms-read-$i" name="perms-set"> Read only </label>
I know it's not that simple—how do we increment? What is bound to what, etc.
But it would be useful.