Pug/Jade Snippets for VSCode
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
images
snippets
.gitignore
.vscodeignore
CHANGELOG.md
README.md
package.json
pug-0.0.1.vsix
pug-0.1.0.vsix
pug-0.2.0.vsix
vsc-extension-quickstart.md

README.md

Pug/Jade Snippets

Provides Pug/Jade Snippets for VSCode to avoid writing boilerplate code.

Install

  • Press F1 and select Extensions: Install Extensions.
  • Search for and select pug snippets.

Supported languages

Snippets

Syntax

  • ext for extends layout
  • inc for include ./includes/
  • block for block blockname
  • pugrf for pug.renderFile()
  • mixin for mixin

Tags a, img, form, meta, link, favicon

Templates

  • html generate basic HTML template in Pug/Jade style
  • bootstrap generate basic Bootstrap template

Bootstrap Related

  • fgroup input form with form-group class
  • button
  • footer minimalistic footer
  • panel
  • login form
  • signup form
  • navbar

Others

  • cpug require pug
  • ipug import pug
  • lorem generate dummy text
  • fa to include font-awesome icon

Contribute

Pull requests for more snippets are welcome.

License

This software is released under the terms of the MIT license.