https://www.undefinednull.com/pug-to-html/
https://github.com/kakulukia/pypugjs
https://pugjs.org/language/iteration.html
.main
- for(var i=0; i<data.length; i++)
.child
| #{data[i]}
.another #{greet('shidhin')}
.other
ul
- for(var i=0; i<data.length; i++)
li.child
| #{data[i]}
.other
table#table.table
thead
tr
th Fruits
tbody
tr
- for(var i=0; i<data.length; i++)
td.child
| #{data[i]}
.form
form
input#fruit.fruit
#iter.each-example
ul
each fruit in data
li= fruit
table#table.table
tbody
tr
each fruit in data
td= fruit