Skills baoyu-markdown-to-html
📄

baoyu-markdown-to-html

Low Risk ⚙️ External commands📁 Filesystem access🌐 Network access🔑 Env variables

Convert Markdown to Styled HTML

Transforms plain Markdown files into beautifully styled HTML with WeChat-optimized themes, code highlighting, math equations, and diagram support.

Supports: Claude Codex Code(CC)
📊 71 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "baoyu-markdown-to-html". # Hello World This is a test.

Expected outcome:

  • HTML file: Hello.html
  • Contains styled heading and paragraph tags
  • Inline CSS for WeChat compatibility

Using "baoyu-markdown-to-html". Code block: ```javascript console.log('test'); ```

Expected outcome:

  • HTML file with syntax-highlighted code
  • Line numbers in code blocks
  • Theme-appropriate code styling

Using "baoyu-markdown-to-html". Math: $E = mc^2$

Expected outcome:

  • HTML file with rendered KaTeX math
  • Equation properly formatted
  • MathJax/KaTeX CSS embedded

Security Audit

Low Risk
v1 • 2/17/2026

This is a legitimate markdown-to-HTML converter skill. The static findings are false positives - external commands invoke the rendering script and external tools (PlantUML, Ruby) for markdown extensions, network calls fetch external resources needed for rendering (images, diagram servers), and filesystem operations are standard read/write for file conversion. No malicious intent or data exfiltration detected.

21
Files scanned
5,135
Lines analyzed
8
findings
1
Total audits
Medium Risk Issues (2)
External Command Execution
The skill uses spawnSync to execute the markdown rendering script via npx/bun. This is legitimate functionality for invoking the markdown processor.
Network Requests for Remote Images
The skill downloads remote images referenced in markdown files. This is standard functionality for a markdown converter.
Low Risk Issues (2)
Environment Variable Access
The skill reads environment variables for debug configuration. This is a standard practice.
Temporary File Operations
The skill creates temporary files during the conversion process. This is expected behavior for file processing.
Audited by: claude

Quality Score

45
Architecture
100
Maintainability
85
Content
50
Community
76
Security
91
Spec Compliance

What You Can Build

WeChat Article Publishing

Convert Markdown articles to WeChat-compatible HTML for publishing to Official Accounts with styled formatting and code highlighting.

Documentation Conversion

Transform Markdown documentation files into standalone HTML with beautiful styling and diagram support.

Blog Post Export

Convert Markdown blog posts to styled HTML with math equations and syntax-highlighted code blocks.

Try These Prompts

Basic Markdown Conversion
Convert the file README.md to HTML using the default theme
WeChat-Optimized Output
Convert article.md to HTML with the grace theme, optimized for WeChat publication
With Code Highlighting
Convert tutorial.md to HTML with the simple theme, include code block syntax highlighting
Keep Original Title
Convert doc.md to HTML using the default theme and keep the original title in the output

Best Practices

  • Use the default theme for WeChat articles as it's optimized for that platform
  • Keep markdown files in the same directory as referenced images for proper embedding
  • Test the output in WeChat editor before publishing to catch formatting issues

Avoid

  • Do not use this for converting sensitive documents - HTML is not encrypted
  • Avoid converting very large markdown files as processing may be slow
  • Do not expect perfect rendering of complex JavaScript-heavy markdown extensions

Frequently Asked Questions

What themes are available?
Three themes are available: default (classic WeChat style), grace (elegant with shadows and rounded cards), and simple (modern minimalist).
Do I need to install anything?
You need Bun runtime installed. The skill will use npx/bun to execute the conversion script.
Can I use this for WeChat articles?
Yes, the default and grace themes are specifically optimized for WeChat Official Account articles.
How are remote images handled?
Remote images are automatically downloaded and embedded with local paths in the HTML for offline viewing.
What markdown extensions are supported?
Code highlighting, math equations (KaTeX), PlantUML diagrams, footnotes, alerts, and custom infographics.
Can I customize the output theme?
Yes, you can provide custom CSS variables through the EXTEND.md configuration file.

Developer Details

File structure