Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

amandeepmittal/pug-vscode

Repository files navigation

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.