• Pug Template Engine

    Pug (pre­vi­ous­ly known as Jade) is a JavaScript tem­plate engine, used with node­js or express applications. Show­ing a val­ue of a vari­able: (Impor­tant: With­out a “HTML func­tion” like p, there is noth­ing to show) p #{name} The input state­ment cre­ates a hid­den field: input(type='hidden' name='secret' value='42') Pro­voke an error: #{"a" * 5} // Should produce an error#{"5" *…