Hacker GitHub

← All repos

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

Mentions per year 36 mentions · busiest year 2016 (9)
20082026
  1. …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
  2. …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
  3. 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
  4. 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
  5. …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
  6. Indeed https://github.com/pugjs/pug/issues/3339
  7. 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
  8. …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
  9. https://github.com/pugjs/pug
    comment by tpae · 2020-04-02 · in Flat HTML
  10. Or this- https://github.com/pugjs/pug/blob/master/README.md#syntax
    comment by screamingninja · 2020-04-02 · in Flat HTML
  11. …[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
  12. 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
  13. …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.…
  14. …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
  15. 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…
  16. I just purchased jadesoftware.org and jadelang.net. They can have fun fighting me now too. See https://github.com/pugjs/jade/issues/2231
  17. …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
  18. …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
  19. …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
  20. It can. See the example at https://github.com/visionmedia/jade#a4
  21. …mixins, includes and plenty of other cool stuff. If you haven't, you might want to check it out: https://github.com/visionmedia/jade
  22. 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
  23. …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…
  24. …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