|
1 | | -# Syntax Highlighting for [PostCSS] |
| 1 | +# PostCSS |
2 | 2 |
|
3 | 3 | <img src="https://postcss.github.io/postcss/logo.svg" title="Philosopher’s stone, logo of PostCSS" align="right" width="95" height="95"> |
4 | 4 |
|
5 | | -PostCSS syntax highlighting for Sublime Text. |
| 5 | +[PostCSS][] syntax definitions for [Sublime Text](https://www.sublimetext.com). |
6 | 6 |
|
7 | | -* Support CSS-like syntax and [SugarSS] syntax. |
8 | | -* Support for CSS custom properties `var(--variable-name)` and `--variable-name`, and dollar variables `$variable`; |
9 | | -* Automatic enable syntax highlighting for `*.pcss` and `*.postcss` files (CSS-like syntax), and for `*.sss` (SugarSS); |
| 7 | +## Installation |
10 | 8 |
|
11 | | -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. |
| 9 | +### Package Control |
12 | 10 |
|
13 | | -## Installation |
| 11 | +The easiest way to install is using [Package Control](https://packagecontrol.io). It's listed as `PostCSS`. |
| 12 | + |
| 13 | +1. Open `Command Palette` using <kbd>ctrl+shift+P</kbd> or menu item `Tools → Command Palette...` |
| 14 | +2. Choose `Package Control: Install Package` |
| 15 | +3. Find `PostCSS` and hit <kbd>Enter</kbd> |
| 16 | + |
| 17 | +### Manual Install |
| 18 | + |
| 19 | +1. Download appropriate [PostCSS.sublime-package](https://github.com/SublimeText/PostCSS/releases) for your Sublime Text build. |
| 20 | +2. Rename it to _PostCSS.sublime-package_ |
| 21 | +3. Copy it into _Installed Packages_ directory |
14 | 22 |
|
15 | | -Install with [Package Control]. |
| 23 | +> [!NOTE] |
| 24 | +> |
| 25 | +> To find _Installed Packages_... |
| 26 | +> |
| 27 | +> 1. call _Menu > Preferences > Browse Packages.._ |
| 28 | +> 2. Navigate to parent folder |
16 | 29 |
|
17 | | -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`. |
| 30 | +> [!WARNING] |
| 31 | +> |
| 32 | +> Manually installed packages are not automatically updated by Package Control. |
18 | 33 |
|
19 | 34 | ## Thanks |
20 | 35 |
|
|
0 commit comments