Comment #12 on issue 28 by
andyc...@gmail.com: Provide @index variable for
Using @index with table ROWS is more conventional.
COLUMNS probably require <colgroup> and <col> tags. If the number of
columns is static (doesn't depend on template data), then you shouldn't
need JSON Template variables at all.
Most tables I've created have static columns.
Here is an example of @index,
http://chubot.org/json-template/test-cases/testIndex-01.html
You can add a formatter like this:
{@index|even-odd}
even-odd could be registered as a function that returns "blue" or "red"
depending on the value of @index.
There should be some examples of how to register formatters in the unit
tests.