When I have a loop to generate a table I want to write an Index with a dot (.) in the first row.
-foreach( i, row; rows)
tr
td=(i+1)
How to get a "." behind the (i+1) nicely?
Not using something like
td=format("%d",i+1)~"."
In jade there is a syntax, allowing more than one value in a line.
With
-foreach( i, row; rows)
tr
td
=(i+1)
.
I get two additional div tags.
="#{i+1}."
Is not working outside a tag.
Any hint? Best regards mt.