vditor 3.9.5 → 3.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.css +1 -1
- package/dist/index.min.js +1 -1
- package/dist/js/lute/lute.min.js +7 -7
- package/dist/method.min.js +1 -1
- package/dist/ts/preview/index.d.ts +1 -0
- package/dist/types/index.d.ts +4 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/ts/markdown/codeRender.ts +8 -8
- package/src/ts/markdown/markmapRender.ts +3 -3
- package/src/ts/markdown/mathRender.ts +2 -0
- package/src/ts/outline/index.ts +1 -1
- package/src/ts/preview/index.ts +39 -40
- package/src/ts/toolbar/Fullscreen.ts +6 -1
package/README.md
CHANGED
|
@@ -342,6 +342,7 @@ new Vditor('vditor', {
|
|
|
342
342
|
| inlineDigit | 内联数学公式起始 $ 后是否允许数字 | false |
|
|
343
343
|
| macros | 使用 MathJax 渲染时传入的宏定义 | {} |
|
|
344
344
|
| engine | 数学公式渲染引擎:KaTeX, MathJax | 'KaTeX' |
|
|
345
|
+
| mathJaxOptions | 数学公式渲染引擎为 MathJax 时的参数 | - |
|
|
345
346
|
|
|
346
347
|
#### options.preview.actions?: Array<IPreviewAction | IPreviewActionCustom>
|
|
347
348
|
|
package/dist/index.css
CHANGED