Syntax Highlighting Field Formatter
3 sites
Security covered
Drupal 10–11
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
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.