Xighlight C source code...
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

8 个月前
7 个月前
1234567891011121314151617181920212223242526272829
  1. # xighlight
  2. xighlight -- Program for highlighting program output, source code and various text files in terminal.
  3. - Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  4. - You can easily add new syntax support with it, for your own language or some that I didn't include.
  5. - There are 2 ways to use this program, you can see them below, or use -h / --help to see it.
  6. Compile:
  7. ```bash
  8. $ sh compile.sh
  9. ```
  10. Install:
  11. ```bash
  12. $ sudo sh install.sh
  13. ```
  14. Use:
  15. ```bash
  16. $ xighlight my_program.ext -- "This way, language is selected by the extension."
  17. $ cat my_program.ext | xighlight [extension] -- "You need to specify the language, check -h / --help."
  18. $ xighlight [extension] < my_program.ext -- "Again, since it's reading from standard stream..."
  19. ```
  20. Currently supported programming and scripting languages are:
  21. - C, Ada, C++, assembly, Flat assembly, Fortran, shell.
  22. ![screenshot](screenshot.png)