Syntax Highlighter

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.
Price option: Free

Supports Moodle 3.2-4.5 See all versions
Latest release: 1 year ago
Installations: 796
Downloads (last 90 days): 169

Frankenstyle name: filter_syntaxhighlighter
Filters

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi Raymon, I've just updated the plugin for compatibility with M4.1 -> M4.5
Hi All,
I was wondering if the plugin is still compatible with the latest versions of Moodle, such as 4.3 or 4.5, as mentioned above.
Hi Mark
The plugin works like a charm on Moodle 4.5.
I withdraw my previous question. Have already updated and tested plugin in Moodle 4.3. It works! smile
Hi Mark! Thank you so much for handy and helpful Syntax highlighter! It's awesome!
I use it on Moodle 4.1, and it works great. But I also want to update my platform to Moodle 4.3 version and continue to use your plugin there. Is there any opportunity to use your plugin on Moodle 4.3 or maybe there are other paths to highlight a syntax? Are you going to make a new version of your plugin compatible with Moodle 4.3?
While GeSHi has more advanced options like "copy code" but it has runtime error, that why I uninstalled it and install this great plugin, and it work like a charm in 4.2 and 4.3 , I hope if the developer come back and add more features
Hi Cuong, could you reproduce the steps (with examples) that led to this error please, and report them at https://github.com/sharpchi/moodle-filter_syntaxhighlighter/issues so I can keep a track? thanks
Anyone being duplicate course data when import this plugin on moodle 4.2.0?
Thanks @Jean-Pierre for testing that. I've only just started testing M4.1. I'll bump the compatibility.
BTW: All plugins I use under 4.0 also work under 4.1, I think there is no problem. (On git 4.1 has therefore also probably the version 401).
I have tested the plugin with 4.1. No problems.
Hi Anisa, I've just run the tests against M4.0 and all appears to function as before, so I've included Moodle 4 .0 in the compatibility list.
Hello,
thank you for any contributions for this great plugin.
I would like to know, did you plan a new release for Moodle 4.x and when will it be published?
Best regards,
Anisa
Hi @pitou col I've just tested this myself, and it works fine. Could you test again with some more details, and post it on the issue tracker - https://github.com/sharpchi/moodle-filter_syntaxhighlighter/issues
thanks
Hello Mark
is there a way not to interpret the html tags ? When including them into code, they are interpreted and not displayed as code. Thanks