You may want to check the programming code on the terminal. In such a case it is troublesome to launch the editor and you will use commands such as cat. However, it is a problem that it is outputted in the state that it is not colored by simply putting it on the standard output.
Hicat is what I would like to use there. This command will highlight the output result.
How to use hicat
Just pipe the results of standard output.
Since highlight.js is used for highlight processing, it supports many programming languages. Basically, languages are automatically selected, but if they are unclear, you can also specify them with the -l option.
highlight.js is open source software (MIT License) made by node / JavaScript.
No comments:
Post a Comment