geshi

Testing Geshi

I am testing the GeSHI syntax highlighting library. A Drupal module is available for adding GeSHI to the input filters. So... here goes.

<?php
require_once 'QueryPath/QueryPath.php';
 
qp(QueryPath::HTML_STUB, 'title')
  ->text('This is the title.')
  ->top()
  ->find('body')
  ->text('Hello world');
?>

The above should produce output looking something like this:
 

Syndicate content