这个提交包含在:
jmnote 2020-10-19 03:52:45 +09:00
当前提交 03b6eadef3
共有 1 个文件被更改,包括 8 次插入7 次删除

查看文件

@ -21,13 +21,14 @@ 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 |
| `$wgSmjShowMathMenu` | false | enable MathJax context menu |
| Setting name | Default value | Description |
| ----------------------- | ------------- | -------------------------------- |
| `$wgSmjUseCDN` | true | use CDN or local scripts |
| `$wgSmjUseChem` | true | enable chem tag |
| `$wgSmjEnableMenu` | true | MathJax.options.enableMenu |
| `$wgSmjDisplayMath` | [] | MathJax.tex.displayMath |
| `$wgSmjExtraInlineMath` | [] | MathJax.tex.inlineMath |
| `$wgSmjScale` | 1 | MathJax.chtml.scale |
If you want to change font size, set `$wgSmjSize`.
```PHP