Pug (@pug_js) profile picture

The pug template language (formerly known as jade), follow for updates about features, releases etc.

Joined April 2014
Photo by Pug (@pug_js)
Pug 3.0.0 is out now medium.com/rollingversions/p…
3
2
3
13
Two reasons: 1. The key is optional, but the value is required, so the optional part comes after the required part. 2. It matches the parameter order for JavaScript’s array.forEach The other reason is it would be difficult to change now.
1
1
🐶 What about a native support of @pug_js as template syntax for @vuejs #components? It's now available and you can already play with it 🤗 Try it now 👉 webcomponents.dev/edit/c7vij… #vuejs #js #pug
3
13
pugjs.org/language/includes.… `include:escape-html othertemplate` should work, unless you want to filter the result of rendering the other template. You could do that with `include:escape-html:pug othertemplate` it won't have access to locals though because filters are compile time.
No idea why @pug_js is not more popular <3
1
2
Replying to @figma
@figmadesign -> @pug_js -> HTML+CSS -> ??? Next: @reactjs and @stenciljs components.
A new release of pug is landing very soon, with support for filters that operate on Buffers (e.g. import a png and filter it to an img tag with base64 URL) and `each ... of ...` syntax that is more efficient than `each ... in ...`. You can try it now via `npm i pug@canary`
1
4
6
[R2D6] Started using @pug_js today and I have happy tears about how tidy it is 😭❤️ 👈 .pug 👉 .HTML #100DaysOfCode #CodeNewbie #DEVCommunity
4
24
Pug.js to make your life easier with HTML templates by @thatisuday at #ITNEXT. @pug_js is a #HTML templating engine, which means you can write much simpler #Pug code. #javascript @JavaScript #nodejs @nodejs #jade buff.ly/2qoKIZN
4
6
Today in engineering: Googled how to change the border color while using @pug_js. Found out how adorable border collie pug mixes are!!
1
3