Update README.md
这个提交包含在:
父节点
d88df34053
当前提交
9765829ce6
19
README.md
19
README.md
|
@ -21,15 +21,16 @@ wfLoadExtension( 'SimpleMathJax' );
|
|||
```
|
||||
|
||||
# Optional Settings
|
||||
| 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 |
|
||||
| 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 |
|
||||
| `$wgSmjWrapDisplaystyle` | wrap with displaystyle | true | false |
|
||||
|
||||
If you want to change font size, set `$wgSmjScale`.
|
||||
```PHP
|
||||
|
|
正在加载...
在新工单中引用