forked from cgkineo/adapt-mathJax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
properties.schema
59 lines (59 loc) · 1.77 KB
/
properties.schema
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
{
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"id": "http://jsonschema.net",
"properties": {
"pluginLocations": {
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"_mathJax": {
"type": "object",
"legend": "MathJax",
"properties": {
"_inlineConfig": {
"type": "object",
"default": {
"extensions": [
"tex2jax.js"
],
"jax": [
"input/TeX",
"output/HTML-CSS"
],
"tex2jax": {
"inlineMath": [
[ "$", "$" ],
[ "\\\\(", "\\\\)" ]
],
"displayMath": [
[ "$$", "$$" ],
[ "\\\\[", "\\\\]" ]
],
"processEscapes": true
}
},
"title": "In-line config",
"inputType": {
"type": "CodeEditor",
"mode": "json"
},
"help": "Define any in-line configuration for MathJax"
},
"_src": {
"type": "string",
"default": "//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js",
"title": "Source",
"inputType": "Text",
"help": "Enter the URL to the copy of MathJax which should be loaded"
}
}
}
}
}
}
}
}
}