Jade
Jade/Pug snippets for Atom
Install
Go to Settings > Install
& then search for Jade
under Packages
Snippets
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
forextends layout
inc
forinclude ./includes/
block
forblock blockname
pugrf
for pug.renderFile()mx
for mixin
Tags a
, img
, form
, meta
, link
Template Snippets
html
bootstrap
Bootstrap Related Snippets
form-group
button
footer
fa
for font-awesome iconspanel
- form templates:
login-form
,register-form
navbar1
for navbar template
Others* favicon
, lorem
Recommended
For JADE language support in Atom check: atom-jade developed by merrihew
Contribute
Pull requests for more snippets are welcome.
License
MIT © Aman Mittal