wechat-format

Convert Markdown content to WeChat-compatible HTML for Official Account publishing.

Updated May 21, 2026
One-click install
npx skills add https://github.com/wangcb8i8i/agent-skills --skill wechat-format-wangcb8i8i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-format
Source: https://github.com/wangcb8i8i/agent-skills/tree/main/wechat-format
Command: npx skills add https://github.com/wangcb8i8i/agent-skills --skill wechat-format-wangcb8i8i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires juice, httpx, Pillow, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Publishing content to WeChat Official Accounts requires manual HTML formatting, inline CSS workarounds, image uploads, and fixes for WeChat's X5 Blink rendering quirks, which is tedious and error-prone for content creators, marketers, and technical writers.

Core Features & Use Cases

  • Seamless Markdown to WeChat HTML conversion: Supports standard GFM plus WeChat-specific extensions (alerts, ruby annotations, diagrams, image sliders) with 4 built-in customizable themes.
  • End-to-end publishing workflow: Automatically matches illustrations to content, compresses images to meet WeChat's 1MB size limit, uploads them via the official WeChat API, and creates a draft in your Official Account.
  • Use case: A tech blogger can write a post in Markdown, add accompanying diagrams, and use this skill to generate a fully formatted, publish-ready WeChat article in seconds, no manual HTML editing required.

Quick Start

Use the wechat-format skill to convert your Markdown article into a WeChat-ready HTML file and preview it in your browser, or publish it directly to your WeChat Official Account.

Frequently Asked Questions about wechat-format

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

FAQPage Schema
How do I convert Markdown to WeChat Official Account HTML without manual formatting?

To convert Markdown to WeChat Official Account HTML, this skill transforms standard GFM into self-contained, WeChat-compatible HTML with inline styles. It automatically resolves X5 Blink rendering constraints and applies custom themes.

Does WeChat formatting support embedded illustrations and automatic image compression?

WeChat formatting supports embedded illustrations by automatically matching images to content and compressing them to meet WeChat's 1MB size limit. It uploads images via the official WeChat API for direct publishing.

What is the best way to publish Markdown technical blogs to a WeChat Official Account?

The best way to publish Markdown technical blogs to a WeChat Official Account is an end-to-end workflow that generates formatted HTML, uploads images via the API, and creates a draft directly in your account.

Can I use standard Markdown extensions like alerts and ruby annotations for WeChat content publishing?

You can use standard Markdown extensions like alerts and ruby annotations for WeChat content publishing. The conversion supports GFM plus WeChat-specific extensions including diagrams and image sliders across four customizable themes.

Why does my CSS styling break when converting HTML for WeChat's rendering engine?

Your CSS styling breaks on WeChat's rendering engine because the X5 Blink browser has CSS function incompatibilities and requires inline styles. This skill resolves these constraints by converting external CSS to self-contained inline styles.