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

40 行
1.4 KiB
JSON

2017-06-12 01:11:02 +08:00
{
"name": "SimpleMathJax",
2022-07-06 20:44:41 +08:00
"version": "0.8.3",
2022-06-05 01:42:07 +08:00
"author": [
"jmnote",
"Qiuwen Baike Contributors"
],
"url": "https://git.qiuwen.wiki/qiuwen/SimpleMathJax",
2017-06-12 03:29:41 +08:00
"description": "render TeX between <code><nowiki><math></nowiki></code> and <code><nowiki></math></nowiki></code>",
2017-06-12 01:11:02 +08:00
"license-name": "GPL-2.0+",
"type": "parserhook",
"AutoloadClasses": {
2020-10-23 18:25:34 +08:00
"SimpleMathJaxHooks": "SimpleMathJaxHooks.php"
2017-06-12 01:11:02 +08:00
},
"config": {
2020-10-19 02:52:30 +08:00
"SmjUseCdn": {"value":true, "description":"true to load mathjax from CDN"},
2020-10-19 02:43:59 +08:00
"SmjUseChem": {"value":true, "description":"true to enabled chem tag"},
"SmjDisplayMath": {"value":[], "description":"MathJax.tex.displayMath"},
"SmjExtraInlineMath": {"value":[], "description":"MathJax.tex.inlineMath"},
2020-10-19 04:10:34 +08:00
"SmjScale": {"value":1, "description":"MathJax.chtml.scale"},
2020-10-23 18:25:34 +08:00
"SmjEnableMenu": {"value":true, "description":"MathJax.options.enableMenu"},
"SmjDisplayAlign": {"value":"left", "description":"MathJax.chtml.displayAlign"},
"SmjWrapDisplaystyle": {"value":true, "description":"true to wrap with displaystyle"}
2017-06-12 01:11:02 +08:00
},
2020-10-19 03:35:17 +08:00
"Hooks": {
2020-10-23 18:25:34 +08:00
"ParserFirstCallInit": "SimpleMathJaxHooks::onParserFirstCallInit"
2020-10-19 03:35:17 +08:00
},
2017-06-12 01:11:02 +08:00
"ResourceModules": {
2020-10-19 02:43:59 +08:00
"ext.SimpleMathJax": {
2022-07-06 20:44:41 +08:00
"scripts": ["resources/ext.SimpleMathJax.js"],
"targets": ["desktop", "mobile"]
2020-10-19 02:43:59 +08:00
}
2017-06-12 01:11:02 +08:00
},
"ResourceFileModulePaths": {
2020-10-19 02:43:59 +08:00
"localBasePath": "",
"remoteExtPath": "SimpleMathJax/resources"
},
2020-10-19 02:43:59 +08:00
"manifest_version": 2
2017-06-12 01:11:02 +08:00
}