Revised readme file and added screenshot...
This commit is contained in:
parent
ab42f181f7
commit
0914ab98d1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
xighlight
|
12
README.md
12
README.md
@ -16,13 +16,11 @@ Install:
|
|||||||
$ sudo sh install.sh
|
$ sudo sh install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Testing:
|
|
||||||
```bash
|
|
||||||
$ sh example/testing.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
Use:
|
Use:
|
||||||
```bash
|
```bash
|
||||||
$ cat my_c_program.ext | xighlight
|
$ xighlight my_program.ext -- "This way, language is selected by the extension."
|
||||||
$ xighlight < my_c_program.ext
|
$ cat my_program.ext | xighlight [extension] -- "You need to specify the language, check -h / --help."
|
||||||
|
$ xighlight [extension] < my_program.ext -- "Again, since it's reading from standard stream..."
|
||||||
```
|
```
|
||||||
|
|
||||||
|
![screenshot](screenshot.png)
|
||||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 718 KiB |
Loading…
Reference in New Issue
Block a user