Work in progress, targeted for 5 October 2026.

Code highlighter filter

From MoodleDocs

The code highlighter filter adds colour to code in the TinyMCE editor.

Enabling the code highlighter filter

If enabled, a teacher can turn the filter on (or off) in the course or a particular activity from Course navigation > More > Filters.

Site administration settings

An administrator must enable the code highlighter filter in Site administration > Plugins > Filters. See Managing filters for more details.

See also