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. View source online
Installation:
- Download the vimcolor tarball from here and extract it in your wordpress plugin folder. Add the content of style.ccs to your themes css.
- Install the Text::VimColor Perl module. If you have root access to your server you can just do a
perl -MCPAN -e 'install Text::VimColor'. VIM also needs to be installed on your system.
- Activate the module.
- You can post your code like:
<code type="yourtype"> your code </code>
Last modified 20 years ago
Last modified on 04/06/2006 10:13:45 PM