pugjs/pug
View on GitHub ↗ ★ 21,827 JavaScript
Pug – robust, elegant, feature rich template engine for Node.js
36 mentions on Hacker News by 33 people: 12 stories, 24 comments · first 2011-01-16 · latest 2026-03-13
20082026
-
…like this would make a nice match with Jade/Pug[0] HTML syntax for a clean front end experience [0] https://github.com/pugjs/pug?tab=readme-ov-file#syntax
comment by gedy · 2025-08-30 · in I'm working on implementing a programming language all my own -
…and block tags. Most places where you can use markdown support this. Personally I’m also a fan of https://github.com/pugjs/pug , which is an alternate syntax for HTML that I find easier to work with when I need the full power of HTML but…
comment by wolfgang42 · 2025-05-06 · in Modern LaTeX -
Agree, but isn't the project very low in activity? https://github.com/pugjs/pug/activity That is not necessarily a bad thing, sometime stability is what matters the most. But here the last commit was removal of a security and bugs branch...
comment by psychoslave · 2025-03-08 · in Svelte5: A Less Favorable Vue3 -
I wonder if this is due to some template engines looking minimalist like that. I think maybe Pug? https://github.com/pugjs/pug?tab=readme-ov-file#syntax It is whitespace sensitive though, but essentially looks like that. I doubt this is…
comment by giancarlostoro · 2024-09-06 · in Minifying HTML for GPT-4o: Remove all the HTML tags -
…get compiled to HTML and published when commits are pushed. Great experience. https://pugjs.org/ https://github.com/pugjs/pug After this, the next step is to learn CSS so you can make it look a little nicer.…
comment by matheusmoreira · 2023-08-06 · in Just normal web things -
Indeed https://github.com/pugjs/pug/issues/3339
comment by psychoslave · 2023-05-26 · in That people produce HTML with string templates is telling us something -
I use Pug for markup in my Svelte + TS projects and I adore it: https://github.com/pugjs/pug
comment by FractalHQ · 2022-09-27 · in Experimenting a new syntax to write SVG -
…and you never write "class=" but are all turned into CSS selector notation among many other tricks. https://github.com/pugjs/pug#syntax Unless the HTML I'm composing will be touched by people like designers who would get scared of new…
comment by mekster · 2022-06-11 · in Write HTML Right -
…[0], although after a bit of Googling I see it's now called Pug [1]. [0] http://jade-lang.com/ [1] https://github.com/pugjs/pug
comment by gtsteve · 2020-01-07 · in Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript -
For example: https://github.com/pugjs/pug/issues/2189 Jade had to rename. They picked 'Pug' and needed a logo. christopherdowson asks if anyone can propose a logo and ends up creating the final logo. Pretty neat thread IMO.
comment by nulagrithom · 2017-05-12 · in Noun Project – Icons for Everything -
…sass can run in the browser with emscripten, so that should be possible, but seemingly not pug?: https://github.com/pugjs/pug/issues/2655 . Feel free to file an issue for SASS if you'd like to track the progress.…
comment by calebegg · 2017-03-25 · in Show HN: Codewich – A live-updating TypeScript/CSS/HTML playground -
…the trademark. This means npm apparently wants everyone to handle trademark disputes like Jade did: https://github.com/pugjs/pug/issues/2184
comment by pluma · 2016-03-23 · in I've Just Liberated My Modules -
Ok, let's add "Node.js template engine" to the title. That's the project's self-description at https://github.com/pugjs/jade . We also changed "lawsuit" to "trademark" in the title, since it's not clear that there's a lawsuit and it is…
comment by dang · 2016-01-30 · in Jade, Node.js template engine, is being forced to rename due to trademark -
I just purchased jadesoftware.org and jadelang.net. They can have fun fighting me now too. See https://github.com/pugjs/jade/issues/2231
comment by niftylettuce · 2016-01-30 · in Jade, Node.js template engine, is being forced to rename due to trademark -
…people prefer using a fat framework that does everything for them, e.g. Angular). -> I use Jade ( https://github.com/visionmedia/jade ), because it runs on the server for Python, Node.js and soon Nimrod, and on the client with precompiled…
comment by idlewan · 2014-04-17 · in Boring Systems Build Badass Businesses -
…language, just like HTML or XML. Better yet, people replace those languages with Jade! [1] https://github.com/visionmedia/jade
comment by salehenrahman · 2013-11-20 · in Write (More) Effortlessly With Markdown -
…markup language, it wouldn't have worked real well, and I might as well have just used LaTex. [1] https://github.com/visionmedia/jade
comment by mbreese · 2013-11-20 · in Write (More) Effortlessly With Markdown -
It can. See the example at https://github.com/visionmedia/jade#a4
comment by nadaviv · 2013-02-20 · in Emblem.js: concise, indented alternative templating language for Handlebars.js -
…mixins, includes and plenty of other cool stuff. If you haven't, you might want to check it out: https://github.com/visionmedia/jade
comment by nadaviv · 2013-02-20 · in Emblem.js: concise, indented alternative templating language for Handlebars.js -
Jade - robust, elegant, feature rich template engine for nodejs: https://github.com/visionmedia/jade
comment by jasonkostempski · 2012-04-11 · in Web emulator for DCPU-16 -
…area of concern. I've played with express http://expressjs.com/ routing and views with the jade https://github.com/visionmedia/jade view engine. I found them quite easy to learn. When I got into node I also got into MongoDB…
comment by jasonkostempski · 2011-08-16 · in How LinkedIn used Node.js and HTML5 to build a better, faster app -
…it isn't a problem at all -- looking at the source, it doesn't appear as though Jade supports IE: https://github.com/visionmedia/jade/blob/master/lib/jade.js#...
comment by jashkenas · 2011-01-16 · in jade: a node.js template engine