There are two ways you can set options: globally via the set() method, and per-call in the highlight() method. Let's disable auto-linking and make all highlights begin at line 17 via the global call. false, 'start-line' => 17)); luminous::set('auto-link', false); luminous::set('start-line', 17); echo luminous::highlight($language, $code); ?>

Now let's override both of those for the duration of the next call true, 'start-line' => 1)) ?>

When we next call highlight(), the options will be back to their global states:

We can get the current value for an option by calling setting(): auto-link is: .