← Back to Skills Marketplace
Baoyu Markdown To Html
by
Jim Liu 宝玉
· GitHub ↗
· v1.117.3
· MIT-0
3399
Downloads
2
Stars
52
Active Installs
11
Versions
Install in OpenClaw
/install baoyu-markdown-to-html
Description
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, fo...
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baoyu-markdown-to-html - After installation, invoke the skill by name or use
/baoyu-markdown-to-html - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 3399 downloads so far.
How do I install Baoyu Markdown To Html?
Run "/install baoyu-markdown-to-html" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baoyu Markdown To Html free?
Yes, Baoyu Markdown To Html is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baoyu Markdown To Html support?
Baoyu Markdown To Html is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baoyu Markdown To Html?
It is built and maintained by Jim Liu 宝玉 (@jimliu); the current version is v1.117.3.
More Skills