Install GeSHi Filter for Drupal 6
Submitted by radu on Thursday, March 11, 2010 - 01:35
To enable syntax highlighting in Drupal posts, you can use the GeSHi Filter module. This module uses Generic Syntax Highlighter - GeSHi, which is a third-party PHP library that supports more than 100 programming languages.
To install this module, you'll have to:
- install the GeSHi Filter Drupal module from http://drupal.org/project/geshifilter
- download the GeSHi library from http://qbnz.com/highlighter/ and unzip the archive in the module directory sites/all/modules/geshifilter
Once everything has been copied over, you should enable the module. Go to Administer >> Site Building >> Modules.
Now you'll have to add the GeSHi filter to your input filters. Go to Administer >> Site Configuration >> Input Filters.
The final step is to enable the languages you think you're going to use by going to Administer >> Site configuration >> GeSHi Filter >> Languages.

Post new comment