Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon



Pug is a template created in 2010 by Tj Holowaychuk.

#205on PLDB 12Years Old 26.9kUsers
2Books 0Papers 12kRepos

Try now: Web · Riju

Pug – robust, elegant, feature rich template engine for Node.js

Example from Riju:
html body p Hello, world!
Example from hello-world:
doctype html html head title Hello World body h1 Hello World
Example from Linguist:
p. Hello, World!

Keywords in Pug

append block case default doctype each else extends for if in include mixin typeof unless var when

Language features

Feature Supported Example Token
// A comment
Line Comments
// A comment

Books about Pug from ISBNdb

title authors year publisher
Programming Web Applications with Node, Express and Pug Krause, Jörg 2016 Apress
Programming Web Applications with Node, Express and Pug Jörg Krause 20161220 Springer Nature
click.html · pug.html · scilab.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub ·