Jade/Pug snippets for Atom
Go to Settings > Install
& then search for Jade
under Packages
These snippets are general purpose written for the sole purpose of saving the time over writing boilerplate code again and again. One might find one or two of the snippets a bit opinionated, thus, feel free to remove them and add your own.
Syntax
ext
for extends layout
inc
for include ./includes/
block
for block blockname
pugrf
for pug.renderFile()mx
for mixinTags a
, img
, form
, meta
, link
Template Snippets
html
bootstrap
Bootstrap Related Snippets
form-group
button
footer
fa
for font-awesome iconspanel
login-form
, register-form
navbar1
for navbar templateOthers* favicon
, lorem
For JADE language support in Atom check: atom-jade developed by merrihew
Pull requests for more snippets are welcome.
MIT © Aman Mittal
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.