wgSmjShowMathMenu

这个提交包含在:
Jmnote 2019-10-20 22:14:30 +09:00 提交者 GitHub
父节点 d1f8321b13
当前提交 c391306b9a
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 13 次插入6 次删除

查看文件

@ -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;
```