console-highlight
console-highlight copied to clipboard
Provide a command-line tool
It would be a really nice tool to use from the command line. The usage could be:
highlight [-l language] [-t theme] file
if file is omitted, it could take input from stdin. So, for example, this would be possible:
cat file.js | highlight -l 'javascript' -t 'solarized_dark'
Nice idea! I think I sorta broke this a while ago :cry: but maybe I'll fix whatever stupid thing I did and introduce a CLI soon.
+1