Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Syntax Highlighting Field Formatter

Security covered Maintenance fixes only 4 sites

This module provides a field formatter for displaying syntax-highlighted code. It uses PHP's built-in highlight_string() function, so there are no third-party library dependencies.

Provides a field formatter for syntax highlighted code output. It is designed to be simple and not rely on any third-party library (best feature: no third-party dependency to GeShi filter etc.). The syntax highlighting is made by PHP's in-built highlight_string(); function.

Settings example

Example output rendering

#1

#2

Drupal 10–11

Ask your assistant about Syntax Highlighting Field Formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Mar 19, 2025
2.0.0 Stable 10–11 Mar 19, 2025