Update README.md

这个提交包含在:
Jmnote 2020-10-19 21:35:35 +09:00 提交者 GitHub
父节点 abe7f68964
当前提交 101f5cc5c8
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 9 次插入9 次删除

查看文件

@ -21,15 +21,15 @@ wfLoadExtension( 'SimpleMathJax' );
```
# Optional Settings
| 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 |
| `$wgSmjDisplayAlign` | center | MathJax.chtml.displayAlign |
| Setting name | Description | default value | example value |
| ----------------------- | -------------------------------- | ------------- | --------------------------- |
| `$wgSmjUseCdn` | use CDN or local scripts | true | false |
| `$wgSmjUseChem` | enable chem tag | true | false |
| `$wgSmjEnableMenu` | MathJax.options.enableMenu | true | false |
| `$wgSmjDisplayMath` | MathJax.tex.displayMath | [] | [['$$','$$'],['\\[','\\]']] |
| `$wgSmjExtraInlineMath` | MathJax.tex.inlineMath | [] | [['\\(', '\\)']] |
| `$wgSmjScale` | MathJax.chtml.scale | 1 | 1.5 |
| `$wgSmjDisplayAlign` | MathJax.chtml.displayAlign | center | left |
If you want to change font size, set `$wgSmjSize`.
```PHP