markstream-vue 1.0.3-beta.2 → 1.0.3-beta.3
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 +19 -10
- package/README.zh-CN.md +3 -1
- package/dist/tailwind.js +0 -0
- package/package.json +16 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Markstream
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Markstream is a streaming Markdown renderer family for AI chat, LLM token streams, SSE/WebSocket output, and long AI responses.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Use `markstream-vue` for Vue 3, Nuxt, and VitePress; use the sibling packages for React, Svelte, and Angular. The renderer is built for incomplete Markdown states, progressive Mermaid, KaTeX, streaming code blocks, mobile WebView, and safe component rendering.
|
|
6
6
|
|
|
7
7
|
[](README.zh-CN.md)
|
|
8
8
|
[](https://markstream.simonhe.me/)
|
|
@@ -29,6 +29,14 @@ Other packages:
|
|
|
29
29
|
[](https://github.com/Simon-He95/markstream-vue/actions/workflows/ci.yml)
|
|
30
30
|
[](./license)
|
|
31
31
|
|
|
32
|
+
## Why not marked / markdown-it / react-markdown?
|
|
33
|
+
|
|
34
|
+
Use `marked`, `markdown-it`, or `react-markdown` for finished Markdown documents.
|
|
35
|
+
|
|
36
|
+
Use Markstream when the Markdown is still changing while the user is reading it.
|
|
37
|
+
|
|
38
|
+
Detailed comparisons: [react-markdown](https://markstream.simonhe.me/compare/react-markdown), [marked / markdown-it](https://markstream.simonhe.me/compare/marked-markdown-it), and [Streamdown](https://markstream.simonhe.me/compare/streamdown).
|
|
39
|
+
|
|
32
40
|
## Packages
|
|
33
41
|
|
|
34
42
|
Start with the [framework overview](https://markstream.simonhe.me/frameworks) if you are choosing between packages.
|
|
@@ -72,6 +80,7 @@ For the full release contract and Go / No-Go checklist, see [1.0 Release Readine
|
|
|
72
80
|
- [Streaming in 30 seconds](#-streaming-in-30-seconds)
|
|
73
81
|
- [Performance presets](#-performance-presets)
|
|
74
82
|
- [Key props & options](#-key-props--options-cheatsheet)
|
|
83
|
+
- [Support the project](#support-the-project)
|
|
75
84
|
- [Where it shines](#-where-it-shines)
|
|
76
85
|
- [FAQ](#-faq-quick-answers)
|
|
77
86
|
- [Why markstream-vue](#-why-markstream-vue-over-a-typical-markdown-renderer)
|
|
@@ -167,14 +176,6 @@ npx skills add git@github.com:Simon-He95/markstream-vue.git
|
|
|
167
176
|
|
|
168
177
|
The test page gives you an editor + live preview plus “generate share link” that encodes the input in the URL (with a fallback to open directly or pre-fill a GitHub Issue for long payloads).
|
|
169
178
|
|
|
170
|
-
## Support the project
|
|
171
|
-
|
|
172
|
-
If markstream-vue helps your work, you can support ongoing maintenance with one of these QR codes.
|
|
173
|
-
|
|
174
|
-
| Alipay | WeChat Pay |
|
|
175
|
-
| --- | --- |
|
|
176
|
-
| <img src="https://raw.githubusercontent.com/Simon-He95/markstream-vue/main/docs/public/sponsor/zhifubao.jpg" alt="Alipay QR code" width="240" /> | <img src="https://raw.githubusercontent.com/Simon-He95/markstream-vue/main/docs/public/sponsor/weixin.jpg" alt="WeChat Pay QR code" width="240" /> |
|
|
177
|
-
|
|
178
179
|
## ⚡ Quick Starts
|
|
179
180
|
|
|
180
181
|
### Vue / Nuxt
|
|
@@ -559,6 +560,14 @@ Parse hooks example (match server + client):
|
|
|
559
560
|
/>
|
|
560
561
|
```
|
|
561
562
|
|
|
563
|
+
## Support the project
|
|
564
|
+
|
|
565
|
+
If markstream-vue helps your work, you can support ongoing maintenance with one of these QR codes.
|
|
566
|
+
|
|
567
|
+
| Alipay | WeChat Pay |
|
|
568
|
+
| --- | --- |
|
|
569
|
+
| <img src="https://raw.githubusercontent.com/Simon-He95/markstream-vue/main/docs/public/sponsor/zhifubao.jpg" alt="Alipay QR code" width="240" /> | <img src="https://raw.githubusercontent.com/Simon-He95/markstream-vue/main/docs/public/sponsor/weixin.jpg" alt="WeChat Pay QR code" width="240" /> |
|
|
570
|
+
|
|
562
571
|
## 🔥 Where it shines
|
|
563
572
|
|
|
564
573
|
- AI/chat UIs with long-form answers and Markdown tokens arriving over SSE/websocket.
|
package/README.zh-CN.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
> 面向 AI 应用的多框架流式 Markdown 渲染器家族 — 支持 Vue、React、Svelte、Angular、Nuxt 和 Next.js。
|
|
4
4
|
|
|
5
|
-
Markstream 专为在用户眼前持续变化的 Markdown 场景而构建:LLM token 流、SSE/WebSocket 输出、AI
|
|
5
|
+
Markstream 专为在用户眼前持续变化的 Markdown 场景而构建:LLM token 流、SSE/WebSocket 输出、AI 聊天消息、未闭合 Markdown 中间态、长文档、渐进式 Mermaid 图表、KaTeX 数学公式、流式代码块以及安全的组件化渲染。
|
|
6
|
+
|
|
7
|
+
Vue 3、Nuxt 和 VitePress 项目优先使用 `markstream-vue`;React、Svelte、Angular 项目使用对应 sibling package。普通 AI 聊天可以直接传不断累积的 `content` 字符串,只有外层已经负责解析、batch 或 worker AST 时才需要 `nodes` 路径。
|
|
6
8
|
|
|
7
9
|
[](README.md)
|
|
8
10
|
[](https://markstream.simonhe.me/zh/guide)
|
package/dist/tailwind.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.3-beta.
|
|
5
|
-
"description": "Vue/Nuxt streaming Markdown renderer for AI chat, SSE/WebSocket output,
|
|
4
|
+
"version": "1.0.3-beta.3",
|
|
5
|
+
"description": "Vue/Nuxt streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, Shiki, and Monaco.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://markstream.simonhe.me/frameworks/vue",
|
|
@@ -17,19 +17,33 @@
|
|
|
17
17
|
"markdown",
|
|
18
18
|
"markdown-renderer",
|
|
19
19
|
"streaming-markdown",
|
|
20
|
+
"streaming-markdown-renderer",
|
|
21
|
+
"markdown-streaming",
|
|
22
|
+
"ai-markdown-renderer",
|
|
20
23
|
"ai-chat",
|
|
21
24
|
"llm",
|
|
25
|
+
"llm-markdown",
|
|
26
|
+
"llm-streaming",
|
|
22
27
|
"sse",
|
|
28
|
+
"sse-markdown",
|
|
23
29
|
"websocket",
|
|
30
|
+
"websocket-markdown",
|
|
24
31
|
"vue",
|
|
25
32
|
"vue3",
|
|
26
33
|
"nuxt",
|
|
27
34
|
"vitepress",
|
|
28
35
|
"vue-markdown",
|
|
36
|
+
"vue-streaming-markdown",
|
|
37
|
+
"nuxt-markdown",
|
|
38
|
+
"vitepress-markdown",
|
|
39
|
+
"incomplete-markdown",
|
|
29
40
|
"mermaid",
|
|
41
|
+
"streaming-mermaid",
|
|
30
42
|
"katex",
|
|
43
|
+
"streaming-katex",
|
|
31
44
|
"shiki",
|
|
32
45
|
"monaco-editor",
|
|
46
|
+
"streaming-code-blocks",
|
|
33
47
|
"large-documents",
|
|
34
48
|
"safe-html",
|
|
35
49
|
"mobile-webview",
|