← 返回 Skills 市场
Baoyu Markdown To Html
作者
Jim Liu 宝玉
· GitHub ↗
· v1.117.3
· MIT-0
3399
总下载
2
收藏
52
当前安装
11
版本数
在 OpenClaw 中安装
/install baoyu-markdown-to-html
功能描述
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, fo...
安全使用建议
Install if you are comfortable with a converter that reads the Markdown file and referenced images you provide, may use headless Chrome for Mermaid diagrams, may fetch remote images referenced in the document through its rendering library, and writes HTML plus backups/cache files next to the input.
能力评估
Purpose & Capability
The stated purpose is Markdown-to-HTML conversion, and the artifacts support that with parsing, theming, citations, image handling, and Mermaid rendering through declared packages.
Instruction Scope
The skill asks the agent to read optional EXTEND.md preference files from the project, XDG config, home directory, and one related Baoyu skill config; this is disclosed and limited to theme/config selection.
Install Mechanism
The runtime requirement is disclosed as bun or npx-based bun, with a small package.json using public npm dependencies that registry analysis found present.
Credentials
File access is scoped to the user-provided Markdown file, adjacent HTML output, adjacent backup, referenced images, temp files for remote images, and Mermaid cache generation, which fits the converter purpose.
Persistence & Privilege
Persistence is limited to generated HTML, timestamped backups of pre-existing HTML, and disclosed Mermaid cache PNGs; there is no hidden background process, credential use, or privilege escalation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baoyu-markdown-to-html - 安装完成后,直接呼叫该 Skill 的名称或使用
/baoyu-markdown-to-html触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.117.3
Fix stale npm shared package dependency pins for baoyu-md and baoyu-chrome-cdp 0.1.1.
v1.117.2
## 1.117.2 - 2026-05-17
### Documentation
- `baoyu-cover-image`: ban programmatic text repair on generated bitmaps — disallow ImageMagick / Pillow / Canvas / SVG / HTML overlays to cover, rewrite, or replace title/subtitle text; regenerate from a corrected prompt or switch to a lower-text or no-title variant instead
- `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-image-cards`, `baoyu-xhs-images`, `baoyu-infographic`, `baoyu-slide-deck`: sync the same text-repair ban with skill-specific text categories (labels/captions, dialogue/sound effects, titles/body/tags, headings/data values, slide titles/bullets)
v1.115.4
### Documentation
- Image generation backend selection: emphasize Codex `imagegen` as the priority runtime-native tool (invoke via the `Skill` tool with `skill: "imagegen"`) and forbid SVG/HTML/canvas substitution when no raster backend can be resolved — fall through to asking the user instead of silently emitting code-based art. Updated in `docs/image-generation-tools.md` and inlined into `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-cover-image`, `baoyu-image-cards`, `baoyu-infographic`, `baoyu-slide-deck`, and `baoyu-xhs-images`.
v1.103.2
- Removed bundled vendor directory and all built-in code highlighting theme assets.
- Switched to using external dependencies for Markdown-to-HTML conversion and styling.
- Simplified internal scripts and significantly reduced overall code size.
- No change to user-facing options or workflow; core usage remains the same.
v1.103.1
## 1.103.1 - 2026-04-13
### Fixes
- `baoyu-markdown-to-html`: decode HTML entities and strip tags from article summary
- `baoyu-post-to-weibo`: decode HTML entities and strip tags from article summary
v1.103.0
## 1.103.0 - 2026-04-12
### Features
- baoyu-diagram: add multi-diagram mode for article-wide diagram generation
### Fixes
- baoyu-article-illustrator: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-cover-image: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-image-cards: prevent color names from appearing as visible text in generated images
- baoyu-post-to-wechat: decode HTML entities and strip tags from article summary
v1.76.3
- Remove test files from the Markdown to HTML conversion module to streamline the codebase.
- scripts/vendor/baoyu-md/src/*.test.ts files deleted.
- No changes made to runtime logic or user-facing features.
v1.76.2
- Removed unnecessary files: `scripts/bun.lock` and `scripts/vendor/baoyu-md/src/LICENSE`
- No user-facing functionality changes
- Internal cleanup to reduce repository bloat
v1.76.1
- Improved HTML rendering logic in the markdown-to-HTML pipeline.
- Updated and expanded test coverage for document parsing and HTML output.
- Refined theme definitions and HTML builder for greater style consistency.
- Various internal test adjustments and minor code cleanups.
v1.74.0
### Features
- CLI now supports all rendering options — color, font-family, font-size, code-theme, mac-code-block, line-number, count, legend
### Fixes
- Fix CSS custom property regex to handle quoted values; grace/simple themes now layer default CSS
v1.60.0
## 1.60.0 - 2026-03-11
### Features
- `baoyu-url-to-markdown`: support reusing existing Chrome CDP instances and fix port detection order
### Fixes
- `baoyu-post-to-x`: add missing `fs` import in x-article
### Refactor
- Unify all CDP skills to use shared `baoyu-chrome-cdp` package with vendored copies
- Simplify CLAUDE.md, move detailed documentation to `docs/` directory
- Publish skills directly from synced vendor, removing separate artifact preparation step
元数据
常见问题
Baoyu Markdown To Html 是什么?
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, fo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3399 次。
如何安装 Baoyu Markdown To Html?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baoyu-markdown-to-html」即可一键安装,无需额外配置。
Baoyu Markdown To Html 是免费的吗?
是的,Baoyu Markdown To Html 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baoyu Markdown To Html 支持哪些平台?
Baoyu Markdown To Html 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baoyu Markdown To Html?
由 Jim Liu 宝玉(@jimliu)开发并维护,当前版本 v1.117.3。
推荐 Skills