Skip to content

Commit b23f7cd

Browse files
author
Kevin Wood
committed
Merge branch 'readme'
2 parents 5bb3548 + 5d47fb7 commit b23f7cd

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ Sublime syntax highlighting for CJSX
44

55
## Installation
66

7+
### Install via Package Control
8+
9+
1. You will need the [Package Control](https://packagecontrol.io/installation) Package Manager for Sublime
10+
1. Open the command pallete with `⌘+shift+p`
11+
1. Type `install` and select `Package Control: Install Package`
12+
1. Wait a moment for the package list to appear, and type `cjsx` and select `CJSX Syntax`
13+
1. Open a .cjsx file and in the lower right hand corner of your Sublime window, open the syntax dropdown.
14+
1. Select "Open all with current extension as..." and then choose 'CJSX'
15+
16+
### Install from source
17+
718
To install this plugin from Github, follow these steps:
819

920
1. Open Sublime and open "Package Control" (cmd + shift + p).
@@ -15,8 +26,9 @@ To install this plugin from Github, follow these steps:
1526
1. Type "sublime cjsx"; select the result (hit enter).
1627
1. Give Sublime a few minutes to install the package.
1728
1. Open a .cjsx file and in the lower right hand corner of your Sublime window, open the syntax dropdown.
18-
1. Select 'CJSX' and smile.
29+
1. Select "Open all with current extension as..." and then choose 'CJSX'
1930

2031
## Credit
2132

22-
Syntax highlighting adapted from sublime-react by Facebook / Jonas Gebhardt <jonas.gebhardt@gmail.com>.
33+
Syntax highlighting adapted from sublime-react by Facebook / Jonas Gebhardt <jonas.gebhardt@gmail.com>.
34+

0 commit comments

Comments
 (0)