PostCSS syntax highlighting for Sublime Text.
Clone or download
Latest commit 575b918 Nov 24, 2017

README.md

Syntax Highlighting for PostCSS

PostCSS syntax highlighting for Sublime Text.

  • Support CSS-like syntax and SugarSS syntax.
  • Support for CSS custom properties var(--variable-name) and --variable-name, and dollar variables $variable;
  • Automatic enable syntax highlighting for *.pcss and *.postcss files (CSS-like syntax), and for *.sss (SugarSS);

There is a lot of possible improvements can be made to this syntax, but frankly, I don't understand in syntax files much and hope for the help of the community.

Installation

Install with Package Control.

Open the Command Palette Cmd+Shift+P (OS X) or Ctrl+Shift+P (Linux/Windows) and select “Package Control: Install Package”, then search for Syntax Highlighting for PostCSS.

Thanks

This package is based on Syntax Highlighting for Sass by @P233.