"Ensuring Your Web Presence Contributes"

php

php logo
Undefined
admin's picture

Javascript code filter for Drupal

Posted by admin on Fri 27 Jun 2008

This was an explanation of how I wrote a Drupal5.n module to filter javascript code so that it displayed syntax highlighted. Drupal 7 has been released, this site has been upgraded and I decided to display programming code syntax highlighted using the GeShi PHP library. It caters for most languages and there is a geshifilter module to integrate the library into Drupal. Here are some examples:

Undefined

Pages