baoyu-markdown-to-html

Convert Markdown files to styled HTML with inline CSS and themes.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/AICode-Nexus/website --skill baoyu-markdown-to-html-aicode-nexus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-markdown-to-html
Source: https://github.com/AICode-Nexus/website/tree/main/skills/baoyu-markdown-to-html
Command: npx skills add https://github.com/AICode-Nexus/website --skill baoyu-markdown-to-html-aicode-nexus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, npx, baoyu-md, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill converts Markdown to beautifully styled HTML, optimized for WeChat Official Account and other platforms, thus providing a more engaging and visually appealing presentation of text content.

Core Features & Use Cases

  • Markdown to HTML Conversion: Converts Markdown files to well-formatted HTML with inline CSS.
  • Themes: Supports various themes like 'default', 'grace', 'simple', and 'modern' for styling.
  • Additional Features: Includes code highlighting, math, PlantUML, footnotes, alerts, infographics, and optional bottom citations for external links.
  • Use Case: Use this Skill to create visually rich HTML content from Markdown notes, articles, or documentation for seamless sharing on WeChat or other platforms.

Quick Start

Convert a Markdown file to HTML using the baoyu-markdown-to-html skill:

npx -y bun main.ts yourfile.md --theme grace

Frequently Asked Questions about baoyu-markdown-to-html

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to HTML with WeChat-compatible styling?

To convert Markdown to WeChat-compatible HTML, run the tool via npx and bun, which applies inline CSS and theme-based formatting to generate visually engaging output suitable for direct platform sharing.

What themes are available for Markdown to HTML conversion?

Available themes for Markdown to HTML conversion include 'default', 'grace', 'simple', and 'modern', allowing you to apply different visual styles to your content before rendering it into the final HTML format.

Does this Markdown to HTML conversion support code highlighting and math formulas?

Yes, the Markdown to HTML conversion supports code highlighting, math, PlantUML, footnotes, alerts, and infographics, ensuring complex technical and scientific content renders correctly in the final styled output.

Do I need bun and npx installed to convert Markdown files to styled HTML?

Yes, you need both bun and npx installed in your environment to process and render Markdown content, as the tool relies on these dependencies to execute the conversion script and apply the necessary styling libraries.

Can I add bottom citations for external links when converting Markdown to HTML?

Yes, you can include optional bottom citations for external links during the Markdown to HTML conversion, organizing reference URLs neatly at the end of your document for WeChat Official Account articles.