Note: You are currently viewing documentation for Moodle 4.3. Up-to-date documentation for the latest stable version of Moodle may be available here: Code highlighter filter.

Code highlighter filter

From MoodleDocs


New feature
in Moodle 4.3!


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