npm
@humanspeak/svelte-markdown
Markdown and HTML renderer for Svelte 5 — built for rendering streaming AI agent output from Claude Code, ChatGPT, and agentic workflows. XSS-safe defaults, streaming-aware sanitization, token caching, TypeScript types, and Svelte 5 runes.
版本 9已同步 9文件 278 SRI 已生成
接入决策台 · 安全可信状态
先确认可用入口,再复制固定版本地址
入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。
建议复核
安全分
38
最近扫描 2026-07-25
扫描覆盖
90%
250 / 278 文件
高危文件
0
0 条 critical
待复核
7
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 1.8.5
34 文件
34 JS / 0 CSS / 0 WASM
7 review files
@humanspeak/svelte-markdown/1.8.5/dist/extensions/alert/index.js
https://cdn.ptab.cn/cdn/humanspeak__svelte-markdown/1.8.5/dist/extensions/alert/index.js
当前版本 34 个文件,9 个入口候选。未发现可疑外联域名。
快速接入
已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。
<script src="https://cdn.ptab.cn/cdn/humanspeak__svelte-markdown/1.8.5/dist/extensions/alert/index.js" integrity="sha256-T+62WpicfZwWVdE/MAV8NVx8gmF2lZKex66gi6Y95+s=" crossorigin="anonymous"></script>
9版本
278文件
1.8.5最新
CDN 地址生成器
选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。
文件类型
JS
文件大小
115 B
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/humanspeak__svelte-markdown/1.8.5/dist/extensions/alert/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/humanspeak__svelte-markdown/1.8.5/dist/extensions/alert/index.js" integrity="sha256-T+62WpicfZwWVdE/MAV8NVx8gmF2lZKex66gi6Y95+s=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
import * as lib from "https://cdn.ptab.cn/cdn/humanspeak__svelte-markdown/1.8.5/dist/extensions/alert/index.js";
console.log("module loaded", lib);
</script>版本与文件
当前版本 1.8.5,展示 34 / 34 个文件。
@humanspeak/svelte-markdown/1.8.5/dist/extensions/alert/index.js
JS
115 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/footnote/index.js
JS
188 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/index.js
JS
1.2 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/katex/index.js
JS
154 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/mermaid/index.js
JS
123 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/index.js
JS
755 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/index.js
JS
3.4 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/renderers/html/index.js
JS
5.1 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/renderers/index.js
JS
1.7 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/alert/markedAlert.js
JS
2.3 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/footnote/markedFootnote.js
JS
2.8 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/katex/markedKatex.js
JS
7.5 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/mermaid/markedMermaid.js
JS
1.8 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/createShikiHighlighter.js
JS
3.7 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/shikiContext.js
JS
1.5 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/types.js
JS
558 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/cache.js
JS
220 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/component-props.js
JS
2.4 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/createFilterUtilities.js
JS
4.2 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/extension-options.js
JS
3.7 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/incremental-parser.js
JS
25.2 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/markdown-parser.js
JS
2.3 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/parse-and-cache.js
JS
4.1 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/render-metadata.js
JS
18.3 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/rendererKeys.js
JS
840 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/sanitize.js
JS
3.7 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/streaming-chunks.js
JS
3.1 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/streaming-token-reuse.js
JS
4.9 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/streaming.js
JS
64 BSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/tail-window.js
JS
3.2 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/token-cache.js
JS
9.1 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/token-cleanup.js
JS
18.0 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/unsupportedHtmlRenderers.js
JS
3.0 KBSRI ready
未分级
0 请求@humanspeak/svelte-markdown/1.8.5/dist/utils/unsupportedRenderers.js
JS
2.9 KBSRI ready
未分级
0 请求| 文件 | 大小 | 类型 | SRI | 今日请求 | 操作 |
|---|---|---|---|---|---|
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/alert/index.js | 115 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/footnote/index.js | 188 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/index.js | 1.2 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/katex/index.js | 154 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/mermaid/index.js | 123 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/index.js | 755 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/index.js | 3.4 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/renderers/html/index.js | 5.1 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/renderers/index.js | 1.7 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/alert/markedAlert.js | 2.3 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/footnote/markedFootnote.js | 2.8 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/katex/markedKatex.js | 7.5 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/mermaid/markedMermaid.js | 1.8 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/createShikiHighlighter.js | 3.7 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/extensions/shiki/shikiContext.js | 1.5 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/types.js | 558 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/cache.js | 220 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/component-props.js | 2.4 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/createFilterUtilities.js | 4.2 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/extension-options.js | 3.7 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/incremental-parser.js | 25.2 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/markdown-parser.js | 2.3 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/parse-and-cache.js | 4.1 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/render-metadata.js | 18.3 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/rendererKeys.js | 840 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/sanitize.js | 3.7 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/streaming-chunks.js | 3.1 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/streaming-token-reuse.js | 4.9 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/streaming.js | 64 B | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/tail-window.js | 3.2 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/token-cache.js | 9.1 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/token-cleanup.js | 18.0 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/unsupportedHtmlRenderers.js | 3.0 KB | JS | ready 未分级 | 0 | |
| @humanspeak/svelte-markdown/1.8.5/dist/utils/unsupportedRenderers.js | 2.9 KB | JS | ready 未分级 | 0 |
库评论
还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。