Publisher review:This is a simple filter Drupal module that handles and tags so that users can post code without having to worry about escaping with < and > This is a simple filter Drupal module that handles and tags so that users can post code without having to worry about escaping it.
Installation
- Copy the codefilter folder to the Drupal modules/ directory, so that all files are in modules/codefilter.
- Go to administer > modules, and enable the codefilter.module
- Go to administer > input formats. Click 'configure' for the format you wish to enable codefilter in, and check the codefilter checkbox on the next page.
- Go to the input format's ordering page and rearrange the filtering chain to resolve any conflicts.
- (optionally) Edit your theme to provide a div.codeblock style for blocks of code.
Requirements: ยท Drupal 4.7.x/5.x/6.x
Code Filter is a PHP script for Drupal Modules scripts design by John Wilkins.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris