AdolphLee43 downloadsConvert Markdown to WeChat-compatible HTML with inline styles, preview it in a phone frame, and copy it straight into the WeChat Official Account editor.
An Obsidian plugin that converts Markdown into WeChat Official Account compatible HTML, previews the final style inside a phone frame, and copies it so you can paste it straight into the WeChat article editor.
Personal (unverified) subscription accounts cannot pass WeChat certification, and the draft API returns
48001for them. This plugin therefore uses a "copy mode" workflow: render locally → preview → copy →Ctrl+Vin the WeChat backend. Zero setup, works on any account. (If an account later completes WeChat certification, an "API mode" that pushes to the draft box can be added.)
中文说明见 README.zh-CN.md.
![[image.png]]main.js, manifest.json and styles.css from the Releases page..obsidian/plugins/wechat-designer/.Once this plugin is accepted into the Obsidian community plugin directory, you can install it by searching for "WeChat Article Designer" in the plugin browser.
.md file.Ctrl/Cmd+P) and run "Preview and copy WeChat article".Ctrl+V.You can add the following frontmatter at the top of the document (defaults can also be set in the plugin settings):
title: Article title
author: Author
digest: Summary
npm install
npm run build # bundles to main.js
Releases are built from source in CI: pushing a tag triggers GitHub Actions, which builds the plugin, generates artifact attestations, and uploads main.js, manifest.json and styles.css to a new release.
MIT © moyansuyu