@pactor-app/markdown 1.50.0 → 1.51.0
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 +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @pactor-app/markdown
|
|
2
2
|
|
|
3
|
-
[Pactor](https://github.com/
|
|
3
|
+
[Pactor](https://github.com/innospots/pactor) 的 Markdown 模块:安全的 Markdown 渲染器(`MarkdownRenderer`)与 DSL Markdown 组件适配(`type: Markdown`)。Chat 消息与 Page/Overlay DSL 共用同一渲染器。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -61,7 +61,7 @@ props:
|
|
|
61
61
|
|
|
62
62
|
## 文档
|
|
63
63
|
|
|
64
|
-
完整文档见 <https://github.com/
|
|
64
|
+
完整文档见 <https://github.com/innospots/pactor/tree/main/docs>(`pnpm docs:dev` 本地启动文档站)。
|
|
65
65
|
|
|
66
66
|
## License
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pactor-app/markdown",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "Pactor Markdown module: safe Markdown renderer (react-markdown AST, no raw HTML) and DSL Markdown component adapter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pactor",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
15
|
+
"url": "git+https://github.com/innospots/pactor.git",
|
|
16
16
|
"directory": "packages/markdown"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://github.com/
|
|
19
|
-
"bugs": "https://github.com/
|
|
18
|
+
"homepage": "https://github.com/innospots/pactor/tree/main/packages/markdown",
|
|
19
|
+
"bugs": "https://github.com/innospots/pactor/issues",
|
|
20
20
|
"type": "module",
|
|
21
21
|
"main": "./dist/index.cjs",
|
|
22
22
|
"module": "./dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"rehype-katex": "^7.0.1",
|
|
55
55
|
"remark-gfm": "^4.0.1",
|
|
56
56
|
"remark-math": "^6.0.0",
|
|
57
|
-
"@pactor-app/core": "1.
|
|
57
|
+
"@pactor-app/core": "1.51.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": ">=18"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"jsdom": "^30.0.1",
|
|
69
69
|
"react": "^19.2.8",
|
|
70
70
|
"react-dom": "^19.2.8",
|
|
71
|
-
"@pactor-app/runtime": "1.
|
|
71
|
+
"@pactor-app/runtime": "1.51.0"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"build": "tsup",
|