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