WeChat Styler: Convert Markdown to Inline HTML for WeChat Official Accounts

Preface

The main body of an Official Account article will eventually land in the WeChat editor, but WeChat has limited support for external CSS. The common practice is to generate “inline style” HTML and paste it in sections. Many teams rely on online formatting tools or third-party APIs, resulting in a complex workflow and difficulty in unifying styles, requiring process changes when services vary. If you are already using Markdown to write articles and want to complete “drafting → pasteable HTML” within the Agent in one go, here is WeChat Styler, a community Skill on SkillHub.

What is this

WeChat Styler converts Markdown articles into inline style HTML usable by the WeChat Official Account. The repository is located at @user_f54fdba0/wechat-styler. Current version 1.3.3, source community, category content-creation, publisher user_f54fdba0, tags requires_api_key=false (no API key configuration required). Official page: SkillHub Page, API identifier address: https://api.skillhub.cn/user_f54fdba0/wechat-styler.

Core Features

According to the SkillHub introduction, this Skill possesses the following stated capabilities:

  1. Format Conversion: Input Markdown, output inline style HTML suitable for the WeChat Official Account editor.
  2. Default Theme: Uses the kami paper texture theme if not specified.
  3. Theme Switching: Supports kami, magazine-ink, magazine-indigo, magazine-forest, magazine-kraft, magazine-dune, elegant, modern, and minimal.
  4. Style and Output Parameters: Configurable font, font size, accent color, background color, output path, etc.
  5. Typical Use Cases: Official Account layout, article HTML generation; using local Skill workflows to replace unstable external layout services; converting articles in the current vault into formats that can be copied into the WeChat editor.

SkillHub page statistics (based on scraped data): Rating 100000, Downloads 901, Installs 0.

Installation and Enablement

The installation method follows SkillHub Installation and Preferred Source Configuration. The page prompts: Please install @user_f54fdba0/wechat-styler.

First, perform a CLI check:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, and the Agent may not recognize it. Common directory examples provided in the documentation are as follows:

Agent skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ in the project
Windsurf ~/.codeium/windsurf/skills/ or .windsurf/skills/ in the project

Example of installation in Cursor:

skillhub install user_f54fdba0/wechat-styler --dir ~/.cursor/skills/

(The coordinates are consistent with the SkillHub page description; if the CLI requires the @ prefix, refer to the local skillhub install --help.) After installation, refresh or restart the Agent as required to load the new Skill.

Typical Usage

The public page does not include step-by-step screenshots, but the usage can be summarized into reproducible logic:

  1. Prepare a Markdown source article (keep titles, paragraphs, lists, code blocks in standard format).
  2. In an Agent chat where WeChat Styler is enabled, describe the requirement: convert the specified Markdown to Official Account HTML, and declare the theme (e.g., magazine-ink) and parameters such as font, font size, accent color, background color, and output path.
  3. After obtaining the inline HTML, copy it to the HTML mode of the WeChat Official Account article editor or the corresponding paste entry; preview to ensure there are no errors before publishing.

By default, if the theme is not explicitly specified, the output will use the kami theme. If you need to switch between multiple magazine styles and elegant, modern, minimal, simply state the theme name in the conversation; no extra API Key is needed.

Suitable Scenarios and Notes

Suitable For

  • Creators or technical account operators using Markdown to maintain knowledge bases or blog vaults, who need to sync to Official Accounts regularly.
  • Those who wish to centralize layout capabilities within Agent + Skill, reducing reliance on external layout websites.
  • In content-creation workflows, needing HTML generation steps with parameterizable themes and color schemes.

Limitations and Notes

  • Output quality depends on the Markdown structure and the WeChat editor’s actual rendering of tags and styles; you should preview on the WeChat side before publishing.
  • This Skill is community released (community), and version and statistics are subject to the SkillHub page; installation stats being 0 does not mean it is unusable, it simply reflects the platform’s counting method.
  • Do not assume support for capabilities not explicitly written in the public introduction (e.g., unlisted theme names or integration methods); refer to the SKILL package instructions or the Skill’s behavior in the conversation.

Conclusion

WeChat Styler connects “Markdown writing” and “Official Account inline HTML” into the same Agent workflow. Themes and color parameters are fully listed in the introduction, and no API Key is required. If you are organizing vault articles and need to stably produce pasteable HTML, you can view the details and install it on SkillHub: https://www.skillhub.cn/skills/user_f54fdba0/wechat-styler.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye