aws-wechat-article-formatting

Convert Markdown articles into WeChat-compatible HTML with inline styles.

490|76|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/aiworkskills/wechat-article-skills --skill aws-wechat-article-formatting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-wechat-article-formatting
Source: https://github.com/aiworkskills/wechat-article-skills/tree/main/skills/aws-wechat-article-formatting
Command: npx skills add https://github.com/aiworkskills/wechat-article-skills --skill aws-wechat-article-formatting

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

公众号排版工作常常需要将 Markdown 内容转换为微信后台可粘贴的 HTML,并在不同主题间灵活切换排版风格。该 Skill 提供本地化、零网络依赖的排版解决方案,支持多主题、字号和段落样式的快速切换。

Core Features & Use Cases

  • 将 Markdown 转换为微信编辑器兼容的内联样式 HTML,正文不会重复标题。
  • 支持内置与自定义排版主题,通过简单配置实现品牌风格的一致性。
  • 提供端到端工作流:合并全局配置与本篇文章的 presets、嵌入元素和输出 HTML。

Quick Start

在项目根目录运行 format.py,将 article.md 转换为微信后台可粘贴的 HTML,并输出 article.html。

Frequently Asked Questions about aws-wechat-article-formatting

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

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

To convert Markdown to WeChat-compatible HTML, run a local Python script that processes article.md into HTML with inline styles. This produces a ready-to-paste article.html file for the WeChat editor without repeating the title.

Can I switch between different formatting themes for WeChat publishing locally?

You can switch formatting themes for WeChat publishing locally by using YAML-driven configurations. The system merges global settings with article presets to apply different brand styles without any network dependency.

Does WeChat article formatting require an internet connection or external API?

WeChat article formatting does not require an internet connection or external API. The conversion process runs entirely locally, ensuring zero network dependency while processing Markdown and embedding assets into the final HTML.

What is the best way to manage presets and embedded assets for Markdown to HTML conversion?

The best way to manage presets and embedded assets is through an end-to-end workflow using article.yaml. This YAML file defines theme presets and embeds elements, ensuring deterministic HTML output when the script runs.

Do I need pyyaml to format Markdown articles for WeChat public accounts?

You need pyyaml to format Markdown articles for WeChat public accounts because the system relies on YAML-driven theming. This dependency parses the article.yaml configurations required for applying styles and presets.