SynHi filter

Filters ::: filter_synhi
Maintained by Gareth J BarnardGareth J Barnard
Syntax highlights 'code' or 'pre' then 'code' tags with either EnlighterJS or SyntaxHighlighter. Either can be chosen by the administrator with a choice of styles. Before deciding a 'preview' is shown.

SynHi filter 39.1.0

Moodle 3.9, 3.10, 3.11, 4.0, 4.1
Released: Sunday, 2 April 2023, 12:13 AM

Version Information

Version 39.1.0 - 01/04/23

  1. Changed to semantic versioning 2.0.0 (https://semver.org/) for the release value, whereby the 'major' number is the minimum Moodle core branch number. The 'version' property still needs to follow the Moodle way in order for the plugin to operate within the core API.
  2. Update EnlighterJS from 3.4.0 to 3.6.0.
  3. Minify Syntaxhighlighter with 'uglifyjs syntaxhighlighter.js -c -o syntaxhighlighter.min.js'.

Version 3.7.1.2 - 22/05/21

  1. Fix 'The EnlighterJS engine turns inline elements to block elements', thanks to Tyson Whitehead (https://github.com/twhitehead) for the patch - #2 & #3.

Version 3.7.1.1 - 23/01/21

  1. Don't highlight MathJax / Tex -> https://docs.moodle.org/310/en/MathJax_filter.

Version 3.7.1 - 08/11/20

  1. Stable release.
  2. Add screenshots to Readme.md.
  3. Tidy code.
  4. Add information settings.
  5. Tested on M3.10.

Version 3.7.0.3 - 15/09/20

  1. Fix 'missing thirdpartylibs.xml' - #1.

Version 3.7.0.2 - 03/09/20

  1. EnlighterJS has no 'default' style.

Version 3.7.0.1 - 02/09/20

  1. Initial version.

Version information

Version build number
2020073106
Version release name
39.1.0
Can be updated from
3.7.0.1, 3.7.0.2, 3.7.0.3 (2020073102), 3.7.1 (2020073103), 3.7.1.1 (2020073104), 3.7.1.2 (2020073105)
Can be updated to
39.1.1 (2020073107), 39.1.2 (2020073108)
Maturity
Stable version
MD5 Sum
87c0863f576b9a8b07ead716fad7ee47
Supported software
Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
V39.1.0

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