Color Code is a feature made for programmers, who want to show colored source code in the presentation. Here is an example for colored code:

#!/usr/bin/perl
use strict;
use warnings;

print "Hello World!\n";

To use Color Code you have to add {{{COLORCODE:program_name}}} into your data tag in your sheet file. The file mentioned in the Color Code statement is searched in the sheet directory. This file contains normal source code and special color signs.

{{{RED}}} switches to red. You have seventeen colors and the switch {{{OFF}}} to switch the coloring off (then the standard text color is used again).

The color codes are BLACK, GRAY, SILVER, WHITE, PURPLE, FUCHSIA, MAROON, RED, OLIVE, YELLOW, GREEN, LIME, NAVY, BLUE, TEAL, AQUA, and ORANGE.

 
^^
Copyright Christian Dühl February 2005