Here we have 3 pug examples. The first generates HTML, the second generates Python's Chameleon Page Templates The third generates Javascript.