baoyu-markdown-to-html
仓库创建 2026年1月13日最近提交 22 天前SkillHot 收录 20 天前
▸ 精选理由
适合发布与分享,支持数学、Mermaid、PlantUML 渲染。
▸ 风险提示
可能需要本地 headless Chrome 或外部渲染服务并访问网络。
这个 Skill 做什么
将 Markdown 转换为带样式、微信兼容的 HTML。
把 Markdown 变成带样式的 HTML,输出内联 CSS,兼容微信公众平台,适合直接发文或外链用。支持代码高亮、数学公式、Mermaid(用无头 Chrome 渲染为 PNG)、PlantUML、脚注和提示框等丰富功能。还能把外链自动汇为底部引用,方便满足微信对外链的显示和排版要求。
▸ 展开 SKILL.md 英文原文
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, footnotes, alerts, infographics, and optional bottom citations for external links. Use when user asks for "markdown to html", "convert md to html", "md 转 html", "微信外链转底部引用", or needs styled HTML output from markdown.
2.4w
Stars
2.7k
Forks
22
仓库内 Skill
+1.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/JimLiu/baoyu-skills/main/skills/baoyu-markdown-to-html/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/JimLiu/baoyu-skills/main/skills/baoyu-markdown-to-html/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Markdown to HTML Converter Converts Markdown files to beautifully styled HTML with inline CSS, optimized for WeChat Official Account and other platforms. ## User Input Tools When this skill prompts the user, follow this tool-selection rule (priority order): 1. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent. 2. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. 3. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single cal
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有