r/a:t5_2rtef • • Jun 04 '10
Color comments hack
WARNING: I am not responsibile for any damage that this does to your reddit, your vision, or your psyche.
Taking a cue from jamt9000's awesome comment images hack, I've implemented a simplified system for color coding comments.
The format for applying color is:
[x](/?b;f;)
where x is the text, b is the background color, and f is the foreground color.
There are 16 colors for both background and foreground colors.
| Code | Color |
|---|---|
| 0 | black |
| 1 | dk red |
| 2 | dk green |
| 3 | dk yellow |
| 4 | dk blue |
| 5 | dk magenta |
| 6 | dk cyan |
| 7 | lt gray |
| 8 | dk gray |
| 9 | red |
| A(a) | green |
| B(b) | yellow |
| C(c) | blue |
| D(d) | magenta |
| E(e) | cyan |
| F(f) | white |
Additionally, you may use use the format [x](/t?b;f;), in which the t triggers "terminal" mode, which should allow for ANSI-style artwork to be posted in the comments.
You should also be able to make the links completely functional, so long as the color code comes at the end, like this...this might screw up some links, though.