Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module is a re-implementation of codefilter using the library PHPLighter.
The main differences between codefilter and this module are:
- CodeFilter uses embed styles to highlight syntax. PHPLighter uses spans with clases and CSS.
- CodeFilter only have one theme and is hard to customize. PHPLighter allows to use different styles using CSS.
- CodeFilter uses highlight_string() that only a fixed number of elements. PHPLighter provides a class that map the elements and detects some PHPDoc tags like @author, @category, etc.
Read more at: https://github.com/brandonwamboldt/phplighter
Before install this module make sure to read the instalation instructions. An extra open source library is needed to use this module.
Project information
- Module categories: Content Editing Experience
- Created by dagmar on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
7.x-1.0-beta1
released 19 April 2013
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.