Syntax Highlighter

Filters ::: filter_syntaxhighlighter
Maintained by Mark Sharp
This is a filter plugin that uses a 3rd party Javascript module called highlight.js to make your code look like something you'd see in an IDE.

Syntax Highlighter 4.1-r1

Moodle 4.1, 4.2, 4.3, 4.4, 4.5
Released: Thursday, 9 January 2025, 9:36 PM

Changes

v4.1-r1

  • M4.5 compatibility
  • Min required version M4.1

Version 2021052101

  • Make turn-off-able
  • Added test script to test

Version 2020040201

  • Added automated test scripts

Version 2020040200

  • Allow language to be specified #4

Version 2017111302

  • added GDPR declaration
  • New setting to allow option of local or CDN served style sheets
  • Preview of selected style in settings page

Version information

Version build number
2025010900
Version release name
4.1-r1
Maturity
Stable version
MD5 Sum
870c6325f5199b2ea346d0a64f143666
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v4.1-r1

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation