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.
The 8.x-1.2 version has a change in composer.json, we do not require the dev version from geshi library, we require the last stable version. If you have a error in composer when updating to this release, please remove the geshifilter module and require it again:
You do not need to uninstall the module, so you will not lose any settings. This is only for people that use composer, if you do not use, it is not necessary any change.
Version 6.x-1.2 of the GeSHi filter module was almost getting one year old, so I decided it was time to make a new release.
This new version 6.x-1.3 contains various (bug) fixes and some new features, listed below.
New submodule: GeSHi field module (because fields are the way to go)
One important new feature is the addition of the GeSHi field module, which provides a CCK field for source code with syntax highlighting. This new module should be usable and functional, however it is not recommended for production usage, yet. Because there was not much feedback about it on the related thread (#179097: Geshi Source Code CCK Field), I decided to release it as a submodule to all users to collect more feedback. Be welcome to play with it and report your findings.
Also note that the GeSHi field module is intended to replace the GeSHi node module eventually. GeSHi node was the old-skool inflexible way of working with nodes; GeSHi field, being a CCK field, is much more flexible and future-proof.
Changes since DRUPAL-6--1-2:
added (beta version of) geshifield to the main branch
#518828: added support for new GeSHi feature to implement line numbering with copy/paste friendly table container
#252621: "Do nothing" mode could not be overruled with language attributes or language tags
#244493: added CSS mode where only CSS classes are added to the markup and the administrator is responsible for defining the CSS rules (makes usage of css classes possible with private downloads)
#179470: GeSHi filter module now also looks for language definition files in geshi-extra directory (useful for custom language definition files), added Drupal5 and Drupal6 definition files
added information about differences between <pre> and <div> containers