<commit_before><?php
// Example of having the output displayed like a full page.
require_once('helper.inc');
luminous::set('max-height', 0);
luminous::set('include-javascript', false);
?>
<!DOCTYPE HTML>
<html>
  <head>
    <title>Full page example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <?php echo luminous::head_html(); ?>
    <style>
    body { margin:0;}
    </style>
  </head>
  
  <body>
  <?php 
  // we'll cheat for source code and use the themeswitcher example's source
  echo luminous::highlight_file('php', 'themeswitcher.php', $use_cache); ?>
  </body>
</html><commit_msg>change fullpage example to use the html-full formatter<commit_after><?php
// very easy, set the format to html-full
require_once('helper.inc');
luminous::set('format', 'html-full');
echo luminous::highlight_file('php', 'themeswitcher.php', $use_cache);
{'fraction_non_alphanumeric': 0.170261066969353, 'fraction_numerical': 0.00340522133938706, 'mean_word_length': 4.919463087248322, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7209461', 'n_tokens_mistral': 304, 'n_tokens_neox': 283, 'n_words': 75}