Moodle Plugins directory: SynHi filter | Moodle.org

SynHi filter
Filters ::: filter_synhi
Maintained by
Gareth 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.
Latest release:
213 sites
268 downloads
13 fans
Current versions available: 3
A syntax highlighter filter with the choice of either EnlighterJS (https://github.com/EnlighterJS/EnlighterJS - Mozilla Public License 2.0 (MPL-2.0)) or SyntaxHighlighter (https://github.com/syntaxhighlighter/syntaxhighlighter - MIT licensed).
The administrator has 'preview' settings to see what the look will be on example code before the saving. When active, content with a 'pre' or 'code' tag within a course, module or block will be highlighted. Specifically between the Course and Block contexts - https://docs.moodle.org/39/en/Context.
Useful links
Contributors
Gareth J Barnard (Lead maintainer)
Please login to view contributors details and/or to contact them
1) Could you maybe increase the font size for the style "Enlighter"?
2) The filter places a `` tag around MathJax elements surrounded by `$$`. Could this maybe be rectified?
3) Could maybe the "<" and ">" symbols be automatically replaced as suggested in https://stackoverflow.com/a/5406725/7875049?