baoyu-markdown-to-html
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, 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.
Security Assessment
About baoyu-markdown-to-html
The baoyu-markdown-to-html skill is designed to convert Markdown content into styled HTML, specifically optimized for platforms such as WeChat Official Account. By processing Markdown files, this skill provides a seamless way to generate beautiful, themed HTML with inline CSS. It addresses the need for easy, fast, and efficient transformation of Markdown into HTML that is compatible with WeChat's content system, which is particularly crucial for users who frequently publish or share content in this ecosystem.
FAQ
How do I convert my Markdown file to HTML using baoyu-markdown-to-html?
To convert a Markdown file to HTML, simply use the `baoyu-markdown-to-html` skill, which will automatically generate HTML with styled content based on your input Markdown.
What if my content includes Chinese characters? Does the skill handle that?
Yes, the skill detects Chinese (CJK) characters in the input Markdown. If detected, it will prompt the user to use the `baoyu-format-markdown` skill for formatting before proceeding with the HTML conversion.
Are there any external dependencies required to use this skill?
Yes, the skill requires either 'bun' or 'npx' to execute. If neither is installed, the skill will suggest installing 'bun' to proceed.
Can I customize the theme or style of the HTML output?
Yes, you can customize the theme or use custom CSS variables by modifying the EXTEND.md file. The skill allows flexibility in adjusting code block styles and other elements based on user preferences.
Is there any requirement for using external links in my Markdown content?
Yes, if your Markdown contains external links, the skill supports adding bottom citations for these links, ensuring a cleaner and more structured output.
All Files
108 filesInstall baoyu-markdown-to-html
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
jimliu/baoyu-skills