Skip to content

Commit

Permalink
Merge pull request #103 from shuzijun/dependabot/npm_and_yarn/vditor-…
Browse files Browse the repository at this point in the history
…3.9.6
  • Loading branch information
dependabot[bot] authored Oct 10, 2023
2 parents 1d5c6a1 + 944b0d1 commit 2f61224
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 76 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lockfileVersion": 1,
"dependencies": {
"vditor": "3.9.5"
"vditor": "3.9.6"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vditor v3.9.5 - A markdown editor written in TypeScript.
* Vditor v3.9.6 - A markdown editor written in TypeScript.
*
* MIT License
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.min.js

Large diffs are not rendered by default.

142 changes: 71 additions & 71 deletions src/main/resources/vditor/dist/js/lute/lute.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/method.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/resources/vditor/dist/ts/preview/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="./types" />
export declare class Preview {
element: HTMLElement;
previewElement: HTMLElement;
private mdTimeoutId;
constructor(vditor: IVditor);
render(vditor: IVditor, value?: string): void;
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/vditor/dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ interface IMath {
macros?: object;
/** 数学公式渲染引擎。默认值: 'KaTeX' */
engine?: "KaTeX" | "MathJax";
/** 数学公式渲染引擎为 MathJax 时传入的参数 */
mathJaxOptions?: any;
}

/** @link https://ld246.com/article/1549638745630#options-preview-markdown */
Expand Down Expand Up @@ -772,7 +774,8 @@ interface IVditor {
element?: HTMLElement,
};
preview?: {
element: HTMLElement
element: HTMLElement,
previewElement: HTMLElement,
render(vditor: IVditor, value?: string): void,
};
counter?: {
Expand Down

0 comments on commit 2f61224

Please sign in to comment.