mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-60209 mathjax: Update integration docs in readme_moodle.txt
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
Description of MathJAX library integration in Moodle | ||
========================================================================================= | ||
==================================================== | ||
|
||
License: Apache 2.0 | ||
Source: http://www.mathjax.org | ||
* Default MathJax version: 2.7.2 | ||
* License: Apache 2.0 | ||
* Source: https://www.mathjax.org/ | ||
|
||
Moodle maintainer: Damyon Wiese | ||
|
||
========================================================================================= | ||
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. | ||
|
||
The only changes required to this filter to handle different MathJax versions is to update | ||
the default CDN urls in settings.php - and update the list of language mappings - in filter.php. | ||
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. |