技能 baoyu-markdown-to-html
📄

baoyu-markdown-to-html

低風險 ⚙️ 外部命令📁 檔案系統存取🌐 網路存取🔑 環境變數

Convert Markdown to Styled HTML

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

支援: Claude Codex Code(CC)
⚠️ 67
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「baoyu-markdown-to-html」。 # Hello World This is a test.

預期結果:

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

正在使用「baoyu-markdown-to-html」。 Code block: ```javascript console.log('test'); ```

預期結果:

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

正在使用「baoyu-markdown-to-html」。 Math: $E = mc^2$

預期結果:

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

安全審計

低風險
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
已掃描檔案
5,135
分析行數
8
發現項
1
審計總數
中風險問題 (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.
低風險問題 (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.
審計者: claude

品質評分

45
架構
100
可維護性
85
內容
22
社群
76
安全
91
規範符合性

你能建構什麼

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.

試試這些提示

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

最佳實務

  • 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

避免

  • 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

常見問題

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.

開發者詳情

檔案結構