How to get loop index?
manish-in-java opened this issue · 2 comments
manish-in-java commented
Consider the following code:
table
thead
tr
th S.No.
th Name
tbody
for person in persons
tr
td ?
td person.name
In the code above I would like to display the record number instead of the question mark (?
). Is this possible? If yes, how? If not, can this support be added?
naltatis commented
Please see the jade/pug syntax for this. Jade4j is "just" a java implementation of the language.
manish-in-java commented
Thanks, got it.