mediawiki-extensions-Simple.../extension.json

40 行
1.4 KiB
JSON

{
"name": "SimpleMathJax",
"version": "0.8.3",
"author": [
"jmnote",
"Qiuwen Baike Contributors"
],
"url": "https://git.qiuwen.wiki/qiuwen/SimpleMathJax",
"description": "render TeX between <code><nowiki><math></nowiki></code> and <code><nowiki></math></nowiki></code>",
"license-name": "GPL-2.0+",
"type": "parserhook",
"AutoloadClasses": {
"SimpleMathJaxHooks": "SimpleMathJaxHooks.php"
},
"config": {
"SmjUseCdn": {"value":true, "description":"true to load mathjax from CDN"},
"SmjUseChem": {"value":true, "description":"true to enabled chem tag"},
"SmjDisplayMath": {"value":[], "description":"MathJax.tex.displayMath"},
"SmjExtraInlineMath": {"value":[], "description":"MathJax.tex.inlineMath"},
"SmjScale": {"value":1, "description":"MathJax.chtml.scale"},
"SmjEnableMenu": {"value":true, "description":"MathJax.options.enableMenu"},
"SmjDisplayAlign": {"value":"left", "description":"MathJax.chtml.displayAlign"},
"SmjWrapDisplaystyle": {"value":true, "description":"true to wrap with displaystyle"}
},
"Hooks": {
"ParserFirstCallInit": "SimpleMathJaxHooks::onParserFirstCallInit"
},
"ResourceModules": {
"ext.SimpleMathJax": {
"scripts": ["resources/ext.SimpleMathJax.js"],
"targets": ["desktop", "mobile"]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "SimpleMathJax/resources"
},
"manifest_version": 2
}