记得在这里看到有人找hightlight code的module

想不起来是哪个帖子了,就发这里吧。

VIM Color

The vimcolor module highlights code in many different formats. VIM is a common programmers text editor for (usually) unix based systems. Out of the box VIM can color the syntax of 200+ languages including PHP, Perl, C, HTML, Fortran, Haskell, Java, etc.

This module is similar in functionality to the codefilter.module. In fact, this module's code was originally a duplicate of codefilter's code and then modified to fit. The difference being that vimcolor.module is much more powerful, and takes more steps to install. Some web hosts may not even be able to support vimcolor.module. If all you need is PHP code coloring, use codefilter.module.

If you are currently useing codefilter.module you should be able to seamlessly upgrade to vimcolor.module without having to modify any of your current content since vimcolor.module supports all of codefilter.module's formatting commands.

Visit http://www.bluefeet.net/vimcolor_module for a sample of code higlighted useing vimcolor.module.

Drupal讨论区: