wechat-article-formatter

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

310|82|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/BND-1/wechat_article_skills --skill wechat-article-formatter-bnd-1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-article-formatter
Source: https://github.com/BND-1/wechat_article_skills/tree/main/wechat-article-formatter
Command: npx skills add https://github.com/BND-1/wechat_article_skills --skill wechat-article-formatter-bnd-1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markdown, beautifulsoup4, cssutils, lxml, watchdog, Pygments, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The tool converts Markdown articles into WeChat-ready HTML with fully inline styles, eliminating the CSS-in-WeChat compatibility headaches and preserving layout across devices.

Core Features & Use Cases

  • Markdown to HTML: transforms Markdown into WeChat-compatible HTML with inline styles.
  • Theme + Inline CSS: supports tech, minimal, and business themes, converting CSS to inline styles for reliable rendering in the WeChat editor.
  • Code, Tables, and Images: preserves code blocks (with language hints), tables, and images, adapting them for mobile viewing and WeChat constraints.
  • Batch & Preview: batch-conversion and real-time preview workflows for publisher teams.

Quick Start

Turn a Markdown article into a ready-to-paste WeChat article by running the standard conversion command against your Markdown file.

Frequently Asked Questions about wechat-article-formatter

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

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

You can convert Markdown to WeChat-ready HTML by running the standard conversion command against your file. The tool automatically inlines CSS and adapts code blocks, tables, and images for mobile-friendly WeChat rendering.

Why does my Markdown formatting break when pasted into the WeChat editor?

Markdown formatting breaks in WeChat because external CSS is removed and unsupported elements are ignored. This tool solves the problem by converting CSS to inline styles and adapting content to adhere to WeChat constraints.

Can I batch convert Markdown articles to WeChat-ready HTML?

Yes, you can batch convert Markdown articles to WeChat HTML. The tool supports batch processing and real-time preview workflows, making it suitable for publisher teams handling multiple articles simultaneously.

Does WeChat HTML conversion preserve code blocks and tables?

WeChat HTML conversion fully preserves code blocks with language hints and tables. It adapts these elements for mobile viewing and WeChat constraints, ensuring your technical content remains readable on devices.

What is the best way to apply CSS themes to WeChat articles?

The best way to apply CSS themes to WeChat articles is by using built-in tech, minimal, or business themes. The tool converts these themes into inline styles for reliable rendering without external CSS dependencies.

Are there limitations when inlining CSS for WeChat publishing?

When inlining CSS for WeChat publishing, limitations include avoiding unsupported elements and removing external CSS. The tool handles these constraints automatically, but complex external dependencies may require manual adaptation.