Description of MathJAX library integration in Moodle
====================================================

* Default MathJax version: 3.2.2
* License: Apache 2.0
* Source: https://www.mathjax.org/

This library is not shipped with Moodle, but this filter is provided, which can be used to
correctly load MathJax into a page from the CDN. Alternatively you can download the entire
library and install it locally, then use this filter to load that local version.

Upgrading the default MathJax version
-------------------------------------

1. Update the default CDN URL in settings.php
2. Perform an upgrade step to change the configured URL if it matches the
   previous default.
3. Check and eventually update the list of language mappings in filter.php.
   Also see the unit test for the language mappings.
4. Add any required configurations from (https://docs.mathjax.org/en/v3.2-latest/web/configuration.html#web-configuration)
   to "filter_mathjaxloader/mathjaxconfig" because it has been removed as the required ones have been loaded by default.
   For more details about the documentation please check MDL-75486.

Changes
-------

* Updated to the 3.2.2 version. See MDL-75486 for details

* Updated to the 2.7.9 version. See MDL-70317 for details.

* The MathJax 2.7.2 seems to have a possible security issue, the CDN default value have been
updated to point to the recommended 2.7.8 version. See MDL-68430 for details.
