Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Typesets confirmed Markdown articles into WeChat Official Account draft box, uploading covers and images.
50% 77%+27 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 11 of 22 without it.
When executing the draft publishing command for `posts/tech.md` using theme `opt-v2` and code syntax highlighting theme `atom-one-dark`, what CLI options specify the theme and code highlight parameters?
use the -h flag for syntax highlighting theme
3 of 3 safety checks passed
npm install -g @wenyan-md/cli
wenyan --version
wenyan 是 caol64/wenyan-cli(Apache-2.0)。除 CLI 外官方还提供 macOS 桌面版、跨平台桌面版和 MCP 版本,仓库内自带 publish-to-wechat 等官方 Skill,可用 npx skills add caol64/wenyan-cli 安装。
单账号使用环境变量:
WECHAT_APP_ID:公众号 AppID。WECHAT_APP_SECRET:公众号 AppSecret。也可通过 --env-file=.env 传入。多账号时删除上述环境变量,改用 wenyan credential 配置多套凭据,发布时用 --app-id 指定。
凭据安全:AppSecret 等同账号密码。不把凭据写入仓库内文件、任务卡或聊天记录;.env 文件必须在 .gitignore 中;协助用户排查时只确认变量是否存在,不回显值。
公众号 API 要求调用方 IP 在后台白名单内:公众号后台 → 设置与开发 → 基本配置 → IP 白名单。官方说明见 yuzhi.tech/docs/wenyan/upload。
本机 IP 频繁变动(家用宽带、移动办公)或团队共用时,改用 server 模式:把 Wenyan Server 部署到固定 IP 的服务器上,白名单只加服务器 IP,本地作为客户端调用:
wenyan publish -f article.md --server https://your-server --api-key-file ~/.config/wenyan/server-api-key
wenyan theme -l # 列出内置主题
wenyan render -f a.md -t orangeheart > preview.html # 本地预览
内置主题:default、orangeheart、rainbow、lapis、pie、maize、purple、phycat。代码高亮默认 solarized-light,--no-mac-style 可关闭代码块的 Mac 窗口样式。自定义 CSS 用 -c 路径 加载。
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.