diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac803da --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xighlight diff --git a/README.md b/README.md index 16f7b05..d9b3fd8 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..1e5636e Binary files /dev/null and b/screenshot.png differ