mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-25 05:42:51 +00:00
15 lines
392 B
JavaScript
15 lines
392 B
JavaScript
|
( function () {
|
||
|
'use strict';
|
||
|
const extensionAssetsPath = mw.config.get( 'wgExtensionAssetsPath' );
|
||
|
window.MathJax = {
|
||
|
loader: {
|
||
|
// see https://docs.mathjax.org/en/latest/input/mathml.html
|
||
|
load: [ '[mml]/mml3' ],
|
||
|
// see https://docs.mathjax.org/en/latest/options/startup/loader.html
|
||
|
paths: {
|
||
|
mathjax: extensionAssetsPath + '/Math/modules/mathjax/es5'
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
}() );
|