Questions Columns Rows
GitHub icon

Pug

Pug - Template language

< >

Pug is an open source template language created in 2010 by Tj Holowaychuk.

Source code:
git clone https://github.com/pugjs/pug
#110on PLDB 13Years Old 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!
append block case default doctype each else extends for if in include mixin typeof unless var when

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 267 · feedback@pldb.com · Logout