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
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.