remons-render-markdown 1.0.10 → 1.0.12

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.
@@ -1,5 +1,6 @@
1
- declare const js: {
1
+ export interface CdnItem {
2
2
  externalsName: string;
3
3
  url: string;
4
- }[];
4
+ }
5
+ declare const js: CdnItem[];
5
6
  export default js;
@@ -4,12 +4,13 @@ type StepItem = {
4
4
  title: string;
5
5
  description: string;
6
6
  };
7
+ isShow?: boolean;
7
8
  };
8
9
  type Data = Array<{
9
10
  steps: Array<StepItem>;
10
11
  condition?: () => boolean;
11
12
  onOpen?: () => void;
12
- id: String;
13
+ id: string;
13
14
  }>;
14
15
  /**
15
16
  * 用于渲染引导
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remons-render-markdown",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "一个基于 React 的 Markdown 渲染组件,支持 GFM(GitHub Flavored Markdown)、代码高亮、Mermaid 图表、Tabs 渲染等功能。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -66,16 +66,14 @@
66
66
  "vite-plugin-dts": "^4.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@mdit/plugin-alert": "^1.0.1",
70
- "@mdit/plugin-tab": "^1.0.1",
69
+ "@mdit/plugin-alert": "^2.0.0",
70
+ "@mdit/plugin-tab": "^2.0.0",
71
71
  "@panzoom/panzoom": "^4.6.2",
72
- "@vscode/markdown-it-katex": "^1.1.2",
73
72
  "classnames": "^2.5.1",
74
73
  "driver.js": "^1.8.0",
75
- "highlight.js": "^11.11.1",
76
- "katex": "^0.18.1",
74
+ "highlight.js": "^11.12.0",
77
75
  "lodash.clonedeep": "^4.5.0",
78
- "markdown-it": "^14.3.0",
76
+ "markdown-it": "^15.0.0",
79
77
  "markdown-it-anchor": "^9.2.1",
80
78
  "markdown-it-link-attributes": "^4.0.1",
81
79
  "markdown-it-toc-done-right": "^4.2.0",