The coder module provides Drupal-friendly formatting.