baoyu-markdown-to-html

Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, PlantUML, footnotes, alerts, and infographics. Use when user asks for "markdown to html", "convert md to html", "md转html", or needs styled HTML output from markdown.

Author

Install

Hot:5

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=jimliu-skills-baoyu-markdown-to-html&locale=en&source=copy

baoyu-markdown-to-html - Markdown to HTML Converter

Skill Overview


Converts Markdown files into beautiful HTML with inline CSS styles, optimized for platforms such as WeChat Official Accounts. Supports code highlighting, mathematical formulas, charts, and multiple theme styles.

Use Cases


  • WeChat Official Account article formatting - Technical bloggers and developers can write with Markdown, then convert to WeChat-compatible HTML in one click while preserving code highlighting and styles.

  • Conversion and publishing of technical documentation - Convert Markdown content such as project READMEs, technical documents, and API documentation into styled HTML for easy publishing on websites or blogs.

  • Beautiful output for blog posts - Generate attractive HTML articles for static blogs and personal websites, with support for multiple theme styles.
  • Core Features


  • Markdown to HTML - Full support for standard Markdown syntax, including headings, lists, tables, blockquotes, images, links, etc., automatically converted to inline-CSS-styled HTML.

  • Code Syntax Highlighting - Supports syntax highlighting for multiple programming languages. After conversion, code blocks retain colorful highlighting effects on platforms such as WeChat Official Accounts.

  • Extended Syntax Support - Supports Markdown extensions such as Mermaid flowcharts, PlantUML diagrams, mathematical formulas, footnotes, alert blocks (Alerts), Ruby annotations, and more.
  • Frequently Asked Questions

    Can the converted HTML be pasted directly into the WeChat Official Account editor?


    Yes. The converted HTML uses inline CSS styles, so it can be copied and pasted directly into the WeChat Official Account editor, Zhihu, Juejin, and other platforms, with styles preserved. It is recommended to use the “Default Theme” for the best compatibility.

    Which Markdown extension features are supported?


    Supports Mermaid flowcharts, PlantUML diagrams, mathematical formulas (KaTeX/LaTeX), footnote references, alert blocks (e.g., [!NOTE]/[!WARNING]), Ruby annotations, and more. Note that charts require external rendering services, and in some platforms they may need additional configuration.

    How can I customize CSS styles?


    You can override CSS variables, set the default theme, customize code block styles, and more by creating an EXTEND.md configuration file. The configuration supports both project-level and user-level settings, with priority: project configuration > user configuration > default settings.