You are hereBlogs / admin's blog / Souce Code Highlighting in Drupal
Souce Code Highlighting in Drupal
When trying to place syntax highlighted code in the site, I ran across a great Module: GeSHi. But as I am a Noob to Drupal, I was stymied a bit in the installation.
Module installation is rather trivial -- download and copy in the subdiredctory of Modules. However, when refreshing the module page, I discovered that the module called "Content" was missing (i.e. Depends on: Content (missing) ) . I've seen this before when working with other modules, and it messed me up then as well. The key is to understand that the module is CCK and it contains many sub-modules including "Content".
After installation of CCK, all was well. Note that the GeSHi 6.x module required a library installation. I installed this as a subdirectory of the module. It turns out that when you configure the module, it will allow you to specify a path to it if it cannot be found. One of the advantages of a late binding architecture...