wgSmjShowMathMenu
这个提交包含在:
父节点
d1f8321b13
当前提交
c391306b9a
19
README.md
19
README.md
|
@ -21,12 +21,13 @@ wfLoadExtension( 'SimpleMathJax' );
|
|||
```
|
||||
|
||||
# Optional Settings
|
||||
| Setting name | Default value | Description |
|
||||
| ------------------ | ----------------------- | --------------------------------------------- |
|
||||
| `$wgSmjSize` | 110 | font size |
|
||||
| `$wgSmjUseCDN` | true | use CDN or local scripts |
|
||||
| `$wgSmjUseChem` | true | enable chem tag |
|
||||
| `$wgSmjInlineMath` | [] | add some additional inlineMath symbols pairs |
|
||||
| Setting name | Default value | Description |
|
||||
| -------------------- | ----------------------- | --------------------------------------------- |
|
||||
| `$wgSmjSize` | 110 | font size |
|
||||
| `$wgSmjUseCDN` | true | use CDN or local scripts |
|
||||
| `$wgSmjUseChem` | true | enable chem tag |
|
||||
| `$wgSmjInlineMath` | [] | add some additional inlineMath symbols pairs |
|
||||
| `$wgSmjShowMathMenu` | false | enable MathJax context menu |
|
||||
|
||||
If you want to change font size, set `$wgSmjSize`.
|
||||
```PHP
|
||||
|
@ -45,3 +46,9 @@ If you want to enable some additional inlineMath symbol pairs, set `$wgSmjInline
|
|||
wfLoadExtension( 'SimpleMathJax' );
|
||||
$wgSmjInlineMath = [["$","$"],["\\(","\\)"]];
|
||||
```
|
||||
|
||||
If you want to enable MathJax context menu, set `$wgSmjShowMathMenu`.
|
||||
```PHP
|
||||
wfLoadExtension( 'SimpleMathJax' );
|
||||
$wgSmjShowMathMenu = true;
|
||||
```
|
||||
|
|
正在加载...
在新工单中引用