Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Commerce Cart Redirection 4.0.0 Major update available for module commerce_cart_redirection (4.0.0). Release: Site verification 4.0.0-rc2 New release candidate for module site_verify (4.0.0-rc2). Release: Generated Content 2.1.2 Minor update available for module generated_content (2.1.2). Release: Download Tracker 1.0.6 Minor update available for module download_tracker (1.0.6). Release: SynCart 3.0.7 Minor update available for module syncart (3.0.7). Release: Temporal 2.1.8 Minor update available for module temporal (2.1.8). Release: DKAN Automated Protection 1.0.0 Initial release available for module dkan_automated_protection (1.0.0)! Release: Coffee Search 1.0.0-alpha2 New alpha version released for module coffee_search (1.0.0-alpha2). Module Revived: Bootstrap Colors 2.0.1 Module bootstrap_colors updated after 19 months of inactivity (2.0.1). Security Coverage: Soundcite Module soundcite now has official Drupal security advisory coverage.

MicroLighter

No security coverage
View on drupal.org

This module integrates the MicroLighter syntax highlighter into Drupal, offering a lightweight and performant alternative to other highlighting libraries. It provides a CKEditor plugin, text filter, and field formatter, allowing you to easily add syntax highlighting to your content with various configuration options and themes.

Built with an AI assistant.

Provides integration with the MicroLighter syntax highlighter library.

MicroLighter uses a new approach to syntax highlighting using css ::highlight() instead of spans.
It is SIGNIFICANTLY lighter weight and more performant than PrismJS.
Read the intro blog post: https://daverupert.com/2026/08/microlighter/

Features

Includes a CKEditor plugin, text filter, and field formatter.

Configure default theme, line numbers, copy button.

Choose from 12 themes.

Post-Installation

Configure the text filter in your editor, or use the field formatter on text fields.
Enable microlighter_ckeditor if needed.

Additional Requirements

MicroLighter library: composer require npm-asset/microlighter

None.

Similar projects

Compare with Prism, PrismJS, CodeSnippet, CKEditor Codesnippet, Highlight PHP, GeSHi Filter, highlight.js Input Filter, Highlight JS

Supporting this Module

Try it out and report any issues.

Community Documentation

None.

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
3
Tracked since
Sep 2026
Latest release
5 hours ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
0.0.1-alpha2 Pre-release 11 Sep 21, 2026
0.0.1-alpha1 Pre-release 11 Sep 20, 2026
1.x-dev Dev 11 Sep 20, 2026