Ace inline CodeRunner extension

Filters ::: filter_ace_inline
Maintained by Michelle Hsieh, Richard Lobb
A filter on HTML elements that can display syntax-highlighted code and execute and edit code on HTML elements using CodeRunner.

Ace inline CodeRunner extension v1.3.7

Moodle 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3
Released: mardi 19 décembre 2023, 11:36

The Moodle ace_inline filter

Richard Lobb, Michelle Hsieh

Version 1.3.7, 19 December 2023.

Github repo: https://github.com/trampgeek/moodle-filter_ace_inline

Introduction

A Moodle filter for displaying and optionally interacting with program code by utilising the Moodle CodeRunner question type plugin. Unlike most Moodle filters, this one is mostly implemented in JavaScript rather than PHP and operates on the rendered HTML rather than the original text. This filter is applied over all HTML elements, therefore can be displayed throughout courses where the user can edit/create HTML elements.

Recent Change History

  • Version 1.3.7 Bug fix for issue #30: latest update won't install (due to bad zip uploaded to Moodle plugin repository.)

  • Version 1.3.6 Update documentation relating to the use of Markdown extra editing.

  • Version 1.3.5

    • Bug fix: State of filter reverted to 'Off but available' whenever the admin filter manager was opened.
  • Version 1.3.4, 1 August 2023.

    • Adding space after each Try it box
  • Version 1.3.3, 10 May 2023.

    • Fix issues with Ace window being far too narrow in many multi-column contexts.
  • Version 1.3.2, 30 April 2023.

    • Fixed issue with replacing the wrong node in MarkdownExtra formatting.
    • Fixed administrator's default "Try it!" setting to actually work.
    • Fixed setting minwidth in multichoice so that text will not be truncated.
    • Added support to allow "style" components to be adapted in. Will be overwritten by Ace Display settings, however, allows other styles such as "min-width" or "margin" to be set with expected results.

Version information

Version build number
2023121900
Version release name
v1.3.7
Maturity
Version stable
MD5 Sum
d7c51525283ab864e9a236d3826766fe
Supported software
Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.3.7

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