Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bnd-1 avatar

Wechat Article Formatter

  • 33 installs
  • 1 repo stars
  • Updated April 12, 2026
  • bnd-1/wechat_article_mini

wechat-article-formatter is a skill that converts Markdown articles into beautified HTML formatted for WeChat public-account publishing using preset templates.

About

wechat-article-formatter is a skill that converts a Markdown article into styled HTML formatted for WeChat public accounts. A developer or writer invokes it after drafting an article to one-click beautify it. It defaults to a preset template, skips the H1 title (WeChat has its own title field), and converts code blocks to a WeChat-compatible format. This is the 'mini' fast variant that pairs with the WeChat writer and publisher skills. Docs are in Chinese.

  • Converts Markdown articles into WeChat-ready styled HTML
  • Defaults to a 'VSCode blue tech' template with no theme prompt
  • Converts code blocks into WeChat-compatible format via a Python script

Wechat Article Formatter by the numbers

  • 33 all-time installs (skills.sh)
  • Ranked #1,393 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

wechat-article-formatter capabilities & compatibility

Capabilities
markdown to html · wechat formatting · code block conversion
Use cases
copywriting · marketing
Pricing
Free
From the docs

What wechat-article-formatter says it does

**默认使用 `VSCode 蓝色科技风` 模板**,不需要问用户选主题。
SKILL.md
**跳过 Markdown 中的 H1 标题**(微信有独立标题栏)
SKILL.md
写完文章 → **说"美化文章"触发本skill** → 说"推送到微信"触发 publisher
SKILL.md
npx skills add https://github.com/bnd-1/wechat_article_mini --skill wechat-article-formatter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs33
repo stars1
Last updatedApril 12, 2026
Repositorybnd-1/wechat_article_mini

What it does

Convert a Markdown article into beautified WeChat-ready HTML using a default template, then hand off to the publisher skill.

Who is it for?

Writers who want a one-click Markdown-to-WeChat-HTML conversion with a sensible default template.

Skip if: Publishing the article; that is handled by the separate wechat-draft-publisher skill.

When should I use this skill?

The user says '美化文章', '转换为HTML', or '格式化' (beautify article / convert to HTML / format).

What you get

A WeChat-compatible styled HTML file ready to paste into the editor.

  • WeChat-ready HTML file (_formatted.html)

By the numbers

  • four selectable HTML templates
  • three-step workflow

Files

SKILL.mdMarkdownGitHub ↗

微信公众号文章格式化(小龙虾极速版)

核心理念:默认精美,一键完成

---

执行流程(3步搞定)

步骤1:找到文章

场景处理方式
用户给了文件路径直接用
用户粘贴了内容先 Write 保存为 .md
刚写完文章自动找最新的 .md 文件
只说"美化文章"问一下路径
# 自动检测最新文章
ls -t *.md 2>/dev/null | head -1

步骤2:使用精美模板转换

默认使用 `VSCode 蓝色科技风` 模板,不需要问用户选主题。

执行方式: 1. 读取 examples/VSCode 蓝色科技风.html 模板 2. 跳过 Markdown 中的 H1 标题(微信有独立标题栏) 3. 在 HTML 开头添加:<!-- ⚠️ 标题请在微信公众号编辑器中单独填写 --> 4. 将 Markdown 内容映射到模板的组件结构中:

  • 导语块 → 文章开头引子
  • 序号章节标题 → H2 标题
  • 功能卡片 → 要点列表
  • 操作步骤 → 教程内容

5. 转换代码块格式(如有代码):

   python scripts/convert-code-blocks.py input.html output.html

6. 输出 {文件名}_formatted.html

如果用户不满意默认模板,再提供选择:

模板适用场景
VSCode 蓝色科技风技术文章(默认
红蓝对决·深度测评对比评测
极客暗黑风深度技术
现代极简风通用文章

步骤3:告诉用户结果

✅ 文章已格式化!

文件:{输出路径}

你可以:
1. 说"推送到微信"→ 直接发布到公众号草稿箱
2. 在浏览器打开预览:file://{绝对路径}
3. 手动操作:浏览器打开HTML → Ctrl+A全选 → Ctrl+C复制 → 粘贴到微信编辑器

⚠️ 记得在微信编辑器的标题栏填写文章标题

---

错误处理

问题解决
文件找不到问用户路径
代码没高亮检查 Markdown 是否指定了语言
图片不显示提醒在微信编辑器重新上传
样式不满意提供其他模板选择

---

与其他skill联动

写完文章 → 说"美化文章"触发本skill → 说"推送到微信"触发 publisher

Related skills

FAQ

Does it include the article title?

No. It skips the Markdown H1 because WeChat has a separate title field, and adds a comment reminding you to fill the title in the WeChat editor.

Which template does it use by default?

It defaults to the 'VSCode 蓝色科技风' (VSCode blue tech) template and only offers other templates if you are unhappy with the default.

Marketing & SEOcontentdistribution

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.