|
|
@@ -16,13 +16,11 @@ Install: |
|
|
|
$ sudo sh install.sh |
|
|
|
``` |
|
|
|
|
|
|
|
Testing: |
|
|
|
```bash |
|
|
|
$ sh example/testing.sh |
|
|
|
``` |
|
|
|
|
|
|
|
Use: |
|
|
|
```bash |
|
|
|
$ cat my_c_program.ext | xighlight |
|
|
|
$ xighlight < my_c_program.ext |
|
|
|
$ xighlight my_program.ext -- "This way, language is selected by the extension." |
|
|
|
$ 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) |