Loading...
Loading...
Converts Markdown to WeChat Official Account HTML using AI-themed layouts and optionally one-click publishes to the draft box. Use when formatting Markdown for WeChat or uploading drafts with WECHAT_APPID/WECHAT_SECRET set in an env file.
npx skill4agent add lingengyuan/my-skills md2wechat# Render AI-style HTML (theme) from Markdown
python scripts/md_ai_render.py --md article.md --theme autumn-warm --out article.html
# Then publish
python scripts/wechat_publish.py --md article.md --html article.html --draft --cover cover.jpgreferences/themes.mdpython scripts/md_ai_render.py --md article.md --theme autumn-warm --out article.htmlpython scripts/wechat_publish.py --md article.md --html article.html --draft --cover cover.jpgpython scripts/wechat_publish.py --md article.md --html article.html --draft --cover cover.jpg --fetch-draft article.wechat.htmlreferences/image-syntax.md.envWECHAT_APPIDWECHAT_SECRETIMAGE_API_KEYIMAGE_API_BASE.env--envAppIDAppSecret.md--title# Hello World
This is a simple article.
- Item 1
- Item 2python scripts/md_ai_render.py --md article.md --theme autumn-warm --out article.htmlpython scripts/wechat_publish.py --md article.md --html article.html --draft --cover cover.jpg{"success": true, "image_count": 2, "draft_media_id": "xxx"}references/themes.mdreferences/html-guide.mdreferences/image-syntax.mdreferences/wechat-api.md