Provides Pug/Jade Snippets for VSCode to avoid writing boilerplate code.
- Press F1 and select
Extensions: Install Extensions
. - Search for and select
pug
snippets.
- Pug
- Jade
Syntax
ext
for extends layoutinc
for include ./includes/block
for block blocknamepugrf
forpug.renderFile()
mixin
for mixin
Tags a
, img
, form
, meta
, link
, favicon
Templates
html
generate basic HTML template in Pug/Jade stylebootstrap
generate basic Bootstrap template
Bootstrap Related
fgroup
input form with form-group classbutton
footer
minimalistic footerpanel
login
formsignup
formnavbar
Others
cpug
require pugipug
import puglorem
generate dummy textfa
to include font-awesome icon
Pull requests for more snippets are welcome.
This software is released under the terms of the MIT license.