WordPress.org

Plugin Directory

wiki:vimcolor

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:

  1. Download the vimcolor tarball from here and extract it in your wordpress plugin folder. Add the content of style.ccs to your themes css.
  1. 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.
  1. Activate the module.
  1. You can post your code like:
    <code type="yourtype">
    your code
    </code>
    
Last modified 11 years ago Last modified on 04/06/06 22:13:45