Code highlighter filter
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
Source: docs.moodle.org/503/en/Code highlighter filter — MoodleDocs (GPL) · Imported 2026-11-10.
这篇文档对你有帮助吗?
谢谢你的反馈!