Skip to content

ghaschel/vscode-angular-pug

Repository files navigation

vscode-angular-pug

GitHub issues GitHub license NodeJS with Gulp Downloads Installs Version Greenkeeper badge

Logo

Angular Pug Template Syntax Highlighting

This plugin adds syntax highlighting for angular Pug template files in VS Code. It supports the angular syntax itself and HTML DOM events.

To replicate this readme colors I recommend using dark-plus-syntax theme.

Summary

Doctype

Doctype

Comments

Comments

Angular directives

Angular directives

Angular interpolations (with safe navigation operator)

Angular Interpolations

Entities

HTML Entities

Regex

Regex

DOM events

Style inline

Style inline

Script tag

Script tag

Generic attributes

Generic attributes

Disclaimer

The development of this plugin serves as a way for me to train Regex, so may not be 100% correct. Feel free to submit a pull request if needed.