vditor 3.9.4 → 3.9.6

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 CHANGED
@@ -307,6 +307,7 @@ new Vditor('vditor', {
307
307
  | enable | 是否启用代码高亮 | true |
308
308
  | style | 可选值参见[Chroma](https://xyproto.github.io/splash/docs/longer/all.html) | `github` |
309
309
  | lineNumber | 是否启用行号 | false |
310
+ | langs | 自定义指定语言 | [CODE_LANGUAGES](https://github.com/Vanessa219/vditor/blob/53ca8f9a0e511b37b5dae7c6b15eb933e9e02ccd/src/ts/constants.ts#L20) |
310
311
 
311
312
  #### options.preview.markdown
312
313
 
@@ -341,6 +342,7 @@ new Vditor('vditor', {
341
342
  | inlineDigit | 内联数学公式起始 $ 后是否允许数字 | false |
342
343
  | macros | 使用 MathJax 渲染时传入的宏定义 | {} |
343
344
  | engine | 数学公式渲染引擎:KaTeX, MathJax | 'KaTeX' |
345
+ | mathJaxOptions | 数学公式渲染引擎为 MathJax 时的参数 | - |
344
346
 
345
347
  #### options.preview.actions?: Array<IPreviewAction | IPreviewActionCustom>
346
348
 
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v3.9.4 - A markdown editor written in TypeScript.
2
+ * Vditor v3.9.6 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -727,7 +727,7 @@
727
727
  bottom: 0;
728
728
  display: flex;
729
729
  flex-direction: column;
730
- z-index: 3;
730
+ z-index: 100;
731
731
  }
732
732
  .vditor-img__bar {
733
733
  border-bottom: 1px solid var(--border-color);