Drupal Code Syntax Highlighting

Here's a nice module that allows you to setup code syntax highlighting in Drupal.

Geshi Filter

You'll also need the Geshi library:

Geshi Library

I got it installed pretty quickly and easily, so hopefully you'll be able to do the same. Here's a screenshot of how it works right out of the box.

Drupal Code/Syntax Geshi Highlighting Screenshot: A screenshot showing how geshi syntax highlighting works right out of the box!Drupal Code/Syntax Geshi Highlighting Screenshot: A screenshot showing how geshi syntax highlighting works right out of the box!

Also, you can choose to have

Also, you can choose to have the module use either an external stylesheet or inline styles. If you go with the external style sheet, then you can pretty easily override its default color schemes.

I think I may make one that mimics the IR_Black theme I like so much!

-- Steve

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Images can be added to this post.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.

More information about formatting options