A simple usage example for Luminous

Inspect the source code to see what's going on. Look at both the PHP code and the HTML markup.

disabled, click here to enable it"; else echo "Caching is enabled. If you are seeing errors, you will need to make the directory: " . realpath(dirname(__FILE__) . "/../") . "/cache/, and make it writable to your server if you intend to use the caching system. Click here to view this page with caching disabled"; ?>

int main() { printf("hello, world"); return 0; } EOF , $use_cache); ?>

You can also set specific runtime options in the highlight call (here we set 'max-height' = 250), which will be forgotten at the next highlight. $use_cache, 'max-height' => '250')); ?>

See: