@hejiayue/x-markdown-test 0.0.1-beta.107
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/LICENSE +21 -0
- package/README.md +1090 -0
- package/dist/index-BjeepIV6.js +529 -0
- package/dist/index-BjeepIV6.js.map +1 -0
- package/dist/index-CgG50XSZ.cjs +2 -0
- package/dist/index-CgG50XSZ.cjs.map +1 -0
- package/dist/index-DtKeGkdv.cjs +2 -0
- package/dist/index-DtKeGkdv.cjs.map +1 -0
- package/dist/index-Ys7-7uFi.js +1856 -0
- package/dist/index-Ys7-7uFi.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/MarkdownRender/index.d.ts +441 -0
- package/dist/types/core/components.d.ts +4 -0
- package/dist/types/core/hast-to-vnode.d.ts +13 -0
- package/dist/types/core/index.d.ts +6 -0
- package/dist/types/core/useProcessor.d.ts +23 -0
- package/dist/types/hooks/index.d.ts +6 -0
- package/dist/types/hooks/useComponents.d.ts +21 -0
- package/dist/types/hooks/useHighlight.d.ts +26 -0
- package/dist/types/hooks/useMarkdown.d.ts +2 -0
- package/dist/types/hooks/useMermaid.d.ts +22 -0
- package/dist/types/hooks/usePlugins.d.ts +8 -0
- package/dist/types/hooks/useTheme.d.ts +25 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/plugins/rehypePlugin.d.ts +2 -0
- package/dist/x-markdown.cjs.js +2 -0
- package/dist/x-markdown.cjs.js.map +1 -0
- package/dist/x-markdown.es.js +20 -0
- package/dist/x-markdown.es.js.map +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { M, e, V, c, h, g, p, r, f, j, k, i, u, m, l, n } from "./index-Ys7-7uFi.js";
|
|
2
|
+
export {
|
|
3
|
+
M as MarkdownRenderer,
|
|
4
|
+
e as MarkdownRendererAsync,
|
|
5
|
+
V as VueMarkdown,
|
|
6
|
+
c as VueMarkdownAsync,
|
|
7
|
+
h as createProcessor,
|
|
8
|
+
g as getVNodeInfos,
|
|
9
|
+
p as preprocessLaTeX,
|
|
10
|
+
r as render,
|
|
11
|
+
f as renderChildren,
|
|
12
|
+
j as useComponents,
|
|
13
|
+
k as useHighlight,
|
|
14
|
+
i as useMarkdownProcessor,
|
|
15
|
+
u as useMermaid,
|
|
16
|
+
m as usePlugins,
|
|
17
|
+
l as useProcessMarkdown,
|
|
18
|
+
n as useTheme
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=x-markdown.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-markdown.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hejiayue/x-markdown-test",
|
|
3
|
+
"version": "0.0.1-beta.107",
|
|
4
|
+
"description": "A markdown component library for Vue",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/x-markdown.cjs",
|
|
7
|
+
"module": "./dist/x-markdown.es.js",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/types/index.d.ts",
|
|
13
|
+
"default": "./dist/x-markdown.es.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/types/index.d.ts",
|
|
17
|
+
"default": "./dist/x-markdown.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./style": "./dist/style.css"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"*.css",
|
|
27
|
+
"*.scss",
|
|
28
|
+
"*.vue"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"vue",
|
|
32
|
+
"markdown",
|
|
33
|
+
"component",
|
|
34
|
+
"vue3"
|
|
35
|
+
],
|
|
36
|
+
"author": "",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"vue": "^3.3.0",
|
|
40
|
+
"shiki": "^3.0.0",
|
|
41
|
+
"shiki-stream": "^0.1.0",
|
|
42
|
+
"mermaid": "^10.0.0"
|
|
43
|
+
},
|
|
44
|
+
"peerDependenciesMeta": {
|
|
45
|
+
"mermaid": {
|
|
46
|
+
"optional": true
|
|
47
|
+
},
|
|
48
|
+
"shiki": {
|
|
49
|
+
"optional": true
|
|
50
|
+
},
|
|
51
|
+
"shiki-stream": {
|
|
52
|
+
"optional": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"deepmerge": "^4.3.1",
|
|
57
|
+
"dompurify": "^3.0.0",
|
|
58
|
+
"element-plus": "^2.5.0",
|
|
59
|
+
"hast": "^1.0.0",
|
|
60
|
+
"lodash-es": "^4.17.21",
|
|
61
|
+
"mdast": "^3.0.0",
|
|
62
|
+
"mdast-util-to-hast": "^13.2.1",
|
|
63
|
+
"property-information": "^7.1.0",
|
|
64
|
+
"rehype": "^13.0.0",
|
|
65
|
+
"rehype-katex": "^7.0.0",
|
|
66
|
+
"rehype-raw": "^7.0.0",
|
|
67
|
+
"rehype-sanitize": "^6.0.0",
|
|
68
|
+
"remark": "^15.0.0",
|
|
69
|
+
"remark-breaks": "^4.0.0",
|
|
70
|
+
"remark-gfm": "^4.0.0",
|
|
71
|
+
"remark-math": "^6.0.0",
|
|
72
|
+
"remark-parse": "^11.0.0",
|
|
73
|
+
"remark-rehype": "^11.0.0",
|
|
74
|
+
"unified": "^11.0.0",
|
|
75
|
+
"unist-util-visit": "^5.0.0"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@types/dompurify": "^3.0.0",
|
|
79
|
+
"@types/hast": "^3.0.4",
|
|
80
|
+
"@types/lodash-es": "^4.17.12",
|
|
81
|
+
"@types/mdast": "^4.0.4",
|
|
82
|
+
"@types/node": "^20.0.0",
|
|
83
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
84
|
+
"@vueuse/core": "^14.1.0",
|
|
85
|
+
"sass": "^1.70.0",
|
|
86
|
+
"terser": "^5.44.1",
|
|
87
|
+
"typescript": "^5.3.0",
|
|
88
|
+
"vite": "^5.0.0",
|
|
89
|
+
"vue": "^3.3.0",
|
|
90
|
+
"vue-tsc": "^2.0.0"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"dev": "vite",
|
|
94
|
+
"build": "vite build && tsc --project tsconfig.build.json",
|
|
95
|
+
"lint": "eslint src --ext .ts,.tsx,.vue",
|
|
96
|
+
"clean": "rm -rf dist node_modules"
|
|
97
|
+
}
|
|
98
|
+
}
|