-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathextension.json
More file actions
118 lines (118 loc) · 3.49 KB
/
Copy pathextension.json
File metadata and controls
118 lines (118 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "SimpleMathJax",
"version": "1.1.0",
"author": "jmnote",
"url": "https://www.mediawiki.org/wiki/Extension:SimpleMathJax",
"description": "render TeX between <code><nowiki><math></nowiki></code> and <code><nowiki></math></nowiki></code>",
"license-name": "MIT",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.43.0"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\SimpleMathJax\\": "includes/"
},
"config": {
"SmjCdnEnabled": {
"value": true,
"description": "Whether to load MathJax from a CDN instead of the bundled local copy"
},
"SmjCdnVersion": {
"value": "4",
"description": "MathJax version to load from the CDN"
},
"SmjDelimitersEnabled": {
"value": false,
"description": "Whether to also scan for bare delimiters (e.g. $...$), outside of <math>/<chem>"
},
"SmjDelimitersInlineMath": {
"value": [],
"description": "Inline math delimiter pairs for extra delimiter scanning, e.g. [['$','$']]"
},
"SmjDelimitersDisplayMath": {
"value": [],
"description": "Display math delimiter pairs for extra delimiter scanning, e.g. [['$$','$$']]"
},
"SmjIgnoreHtmlClass": {
"value": "mathjax_ignore|comment|diff-(context|addedline|deletedline)",
"description": "Pattern for MathJax.options.ignoreHtmlClass"
},
"SmjScale": {
"value": 1,
"description": "Output scale for MathJax.chtml.scale"
},
"SmjEnableMenu": {
"value": true,
"description": "Whether to enable MathJax context menu"
},
"SmjAllowedAttributes": {
"value": [],
"description": "Generic HTML attributes to carry over from <math>/<chem> to the output <span>"
},
"SmjRevisionOverrides": {
"value": [],
"description": "Revision-based configuration overrides"
}
},
"Hooks": {
"ParserFirstCallInit": "MediaWiki\\Extension\\SimpleMathJax\\Hooks::onParserFirstCallInit",
"InternalParseBeforeLinks": "MediaWiki\\Extension\\SimpleMathJax\\Hooks::onInternalParseBeforeLinks"
},
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.SimpleMathJax.visualEditor"
]
}
},
"MessagesDirs": {
"SimpleMathJax": [
"i18n"
]
},
"ResourceModules": {
"ext.SimpleMathJax": {
"scripts": [
"resources/ext.SimpleMathJax.js"
]
},
"ext.SimpleMathJax.visualEditor": {
"scripts": [
"resources/ve/ve.dm.MWMathNode.js",
"resources/ve/ve.dm.MWChemNode.js",
"resources/ve/ve.ce.MWFormulaNode.js",
"resources/ve/ve.ce.MWMathNode.js",
"resources/ve/ve.ce.MWChemNode.js",
"resources/ve/ve.ui.MWFormulaDialog.js",
"resources/ve/ve.ui.MWMathDialog.js",
"resources/ve/ve.ui.MWChemDialog.js",
"resources/ve/ve.ui.MWMathDialogTool.js",
"resources/ve/ve.ui.MWChemDialogTool.js",
"resources/ve/ve.ui.MWFormulaContextItem.js",
"resources/ve/ve.ui.MWMathContextItem.js",
"resources/ve/ve.ui.MWChemContextItem.js"
],
"styles": [
"resources/ve/ve.ui.MWFormulaDialog.less"
],
"dependencies": [
"ext.visualEditor.mwcore",
"ext.SimpleMathJax"
],
"messages": [
"simplemathjax-visualeditor-mwmathdialog-title",
"simplemathjax-visualeditor-mwchemdialog-title",
"simplemathjax-visualeditor-mwformuladialog-formula",
"simplemathjax-visualeditor-mwformuladialog-display",
"simplemathjax-visualeditor-mwformuladialog-display-default",
"simplemathjax-visualeditor-mwformuladialog-display-inline",
"simplemathjax-visualeditor-mwformuladialog-display-block"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "SimpleMathJax"
},
"manifest_version": 2
}