经 AI Skill Hub 精选评估,Svelte Markdown 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Markdown和HTML渲染器,适用于Svelte 5,用于流式AI代理输出。
Svelte Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Markdown和HTML渲染器,适用于Svelte 5,用于流式AI代理输出。
Svelte Markdown 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g svelte-markdown # 方式二:npx 直接运行(无需安装) npx svelte-markdown --help # 方式三:项目依赖安装 npm install svelte-markdown # 方式四:从源码运行 git clone https://github.com/humanspeak/svelte-markdown cd svelte-markdown npm install npm start
# 命令行使用
svelte-markdown --help
# 基本用法
svelte-markdown [options] <input>
# Node.js 代码中使用
const svelte_markdown = require('svelte-markdown');
const result = await svelte_markdown.run(options);
console.log(result);
# svelte-markdown 配置说明 # 查看配置选项 svelte-markdown --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SVELTE_MARKDOWN_CONFIG="/path/to/config.yml"
A powerful, customizable markdown renderer for Svelte with TypeScript support. Built as a successor to the original svelte-markdown package by Pablo Berganza, now maintained and enhanced by Humanspeak, Inc.
on* handler stripping)extensions prop (e.g., KaTeX math, alerts)npm i -S @humanspeak/svelte-markdown
Or with your preferred package manager:
pnpm add @humanspeak/svelte-markdown
yarn add @humanspeak/svelte-markdown
```svelte <script lang="ts"> import SvelteMarkdown from '@humanspeak/svelte-markdown'
const source = `
Here's a complete example of a custom renderer with TypeScript support:
<script lang="ts">
import type { Snippet } from 'svelte'
interface Props {
children?: Snippet
href?: string
title?: string
}
const { href = '', title = '', children }: Props = $props()
</script>
<a {href} {title} class="custom-link">
{@render children?.()}
</a>
If you would like to extend other renderers please take a look inside the renderers folder for the default implentation of them. If you would like feature additions please feel free to open an issue!
For fine-grained styling:
orderedlistitem - Items in ordered listsunorderedlistitem - Items in unordered listsUse marked extensions via the extensions prop. SvelteMarkdown ships first-class extensions for KaTeX, Mermaid, GitHub-style alerts, and footnotes from the @humanspeak/svelte-markdown/extensions subpath — no third-party packages required. Third-party extensions still work too; the component handles registering tokenizers internally and you just provide renderers for the custom token types.
该项目提供了一个开源的AI工作流,用于Markdown和HTML的渲染器,适用于Svelte 5的开发。虽然它提供了一个有用的功能,但仍需要进一步的测试和优化。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Svelte Markdown 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | svelte-markdown |
| 原始描述 | 开源AI工作流:📝 Markdown and HTML renderer for Svelte 5 — built for streaming AI agent output。⭐104 · TypeScript |
| Topics | workflowagent-outputai-agenthtmlllm-streaming |
| GitHub | https://github.com/humanspeak/svelte-markdown |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端