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.2

Moodle 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3
Released: Monday, October 9, 2023, 3:43 AM

Version Information

Version 39.1.2 - 08/10/23

  1. Add missing 'pluginname' from language file.

Version 39.1.1 - 09/04/23

  1. Fix 'non latin characters before the code block break highlighting' - #12.
  2. Fix 'Less than and greater than symbols not rendering correctly'.

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
2020073108
Version release name
39.1.2
Can be updated from
39.1.0 (2020073106), 39.1.1 (2020073107)
Can be updated to
402.1.0 (2024033000)
Maturity
Stable version
MD5 Sum
cee4b6f990246e9e9676426d68e6480a
Supported software
Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • Latest release for Moodle 4.1
  • The more recent release 402.1.1 (2024033001) exists for Moodle 4.2
  • The more recent release 402.1.1 (2024033001) exists for Moodle 4.3

Version control information

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

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