Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [source-highlight]

a program for colorizing text output

0
votes
0answers
9 views

Brighter colors for source-highlight?

Is there a way to make source-highlight user brighter colors, and if so, how do I do this? I'm under the Windows console in WSL and the default colors can appear rather dark.
2
votes
2answers
158 views

How can I use “source-highlight” with “git show”?

Using source-highlight in conjunction with less works really well, but I'm struggling to see how I can use it with git show because there's no file extension to clue source-highlight about the ...
4
votes
4answers
439 views

How can I make source-highlight colorize .dotfiles by default?

Normally when I cat a file like this it's hard to read without colorizing. I've managed to get cat to use source-highlight like this: cdc() { for fn in "$@"; do source-highlight --out-format=...
4
votes
1answer
1k views

How can i colorize cat output including unknown filetypes in b&w?

I like the colors I have in vim. Can I get my output similarly colorized when I do a cat? I like that I can use the colorize tool as in Colorized `cat` for source and script files?. I would like that ...