Xighlight C source code...
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Ognjen Milan Robovic 0914ab98d1 Revised readme file and added screenshot... il y a 3 mois
.gitignore Revised readme file and added screenshot... il y a 3 mois
LICENSE Initial commit il y a 9 mois
README.md Revised readme file and added screenshot... il y a 3 mois
compile.sh Added file types, Ada and C++ highlighting modes... il y a 8 mois
install.sh Very cool redesign... il y a 8 mois
screenshot.png Revised readme file and added screenshot... il y a 3 mois
xighlight.c Finalized Fortran highlighting... il y a 3 mois

README.md

xighlight

xighlight -- Program for highlighting program output, source code and various text files in terminal.

  • Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  • You can easily add new syntax support with it, for your own language or some that I didn't include.
  • There are 2 ways to use this program, you can see them below, or use -h / --help to see it.

Compile:

$ sh compile.sh

Install:

$ sudo sh install.sh

Use:

$ 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