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 0.3

Moodle 3.2, 3.3
Released: Monday, 11 September 2017, 7:23 PM

moodle-filter_syntaxhighlighter

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.

Once activated, you just need to wrap your code in: <pre><code></code></pre> tags (You will need to activate html mode in Atto), or use the MarkDown style of using three back-ticks to wrap code (```Code```) and the javascript will style it.

The settings allows you to choose which style to use.

Install

  1. Unzip
  2. Copy contents to /filter/syntaxhighlighter
  3. Activate from Manage filters.

Change requests

Since this is a 3rd party plugin, any change requests that relate to the the styles and features of the highlighting should be directed to the plugin author.

Version information

Version build number
2017090701
Version release name
0.3
Can be updated to
3.4.2 (2018041301)
Maturity
Beta
MD5 Sum
cbc9ac564003e02d022f46f6f7f53499
Supported software
Moodle 3.2, Moodle 3.3
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3

Version control information

Version control system (VCS)
GIT
VCS repository URL

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