Skip to content

Commit 92c0d28

Browse files
committed
Update readme
1 parent 3f0918e commit 92c0d28

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

README.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
1-
# Syntax Highlighting for [PostCSS]
1+
# PostCSS
22

33
<img src="https://postcss.github.io/postcss/logo.svg" title="Philosopher’s stone, logo of PostCSS" align="right" width="95" height="95">
44

5-
PostCSS syntax highlighting for Sublime Text.
5+
[PostCSS][] syntax definitions for [Sublime Text](https://www.sublimetext.com).
66

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
108

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
1210

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
1422

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
1629
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.
1833
1934
## Thanks
2035

0 commit comments

Comments
 (0)