A quick example of how to generate a set of elements based on your data:
This will render the following html:
1 2 3 4 5
And another quick example of how to assign id and class names to an element:
A very powerful yet easy and minimal syntax for HTML. However I often need to combine these two. That is render a list of items in which the element IDs are specific for each rendered element. The solution looks like this. Consider the items set to hold objects with an ._id and value property.