md2wechat

Convert Markdown articles into WeChat-ready HTML with inline CSS.

7|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill md2wechat-wsxwj123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md2wechat
Source: https://github.com/wsxwj123/opencode-skills-backup/tree/main/md2wechat
Command: npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill md2wechat-wsxwj123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, wget, and includes scripts (resource) and references (resource) components.

What problem does it solve?

md2wechat streamlines turning Markdown into WeChat Official Account HTML, saving time and ensuring WeChat compatibility.

Core Features & Use Cases

  • Convert Markdown to WeChat HTML with inline CSS and WeChat-safe tags.
  • Supports API mode (fast) and AI mode (themed) for branded articles.
  • Handles image processing (local/online/AI-generated) and draft uploads for WeChat.

Quick Start

Run the md2wechat convert command to transform article.md into a WeChat HTML article.

Frequently Asked Questions about md2wechat

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

FAQPage Schema
How do I convert Markdown to WeChat HTML with inline CSS?

To convert Markdown to WeChat HTML, use a tool that enforces inline CSS and WeChat-safe HTML tags to ensure consistent, safe output. This ensures your articles render correctly within WeChat without external stylesheet dependencies.

What is the best way to handle images when converting Markdown for WeChat?

The best way to handle images for WeChat is using an image processing tool that supports local, online, and AI-generated images, formatting them safely into your Markdown to WeChat HTML output. This ensures visual media renders correctly in the final article.

Can I use frontmatter metadata to define article properties for WeChat HTML?

Yes, you can use frontmatter-defined metadata to configure article properties during Markdown to WeChat HTML conversion, ensuring consistent metadata handling across team workflows and draft uploads. This standardizes article attributes before publication.

Does AI mode help generate themed WeChat articles from Markdown?

Yes, AI mode generates themed WeChat HTML from Markdown, providing branded rendering for articles. This differs from standard API mode, which focuses on fast, direct conversion without thematic styling. Both support draft uploads.

Why does my Markdown article fail to render correctly on WeChat?

Markdown articles fail to render on WeChat when they contain unsupported HTML tags or external CSS. You must enforce inline CSS and WeChat-safe HTML tags during conversion to ensure safe, consistent output. This prevents rendering errors in the WeChat editor.

Do I need curl or wget to upload WeChat drafts from Markdown?

Yes, you need curl or wget installed to process image handling and execute draft uploads to WeChat. These dependencies support fetching online images and interacting with the WeChat publication API. They are required for the full team workflow.