jerryshi105 downloadsCopy notes to WeChat as chat-friendly plain text, or as a rendered image.
An Obsidian plugin that copies your notes to WeChat — either as chat-friendly plain text or as a rendered image — straight to the clipboard.
WeChat's chat box does not render rich text, and pasting Markdown there looks messy. This plugin gives you two purpose-built copy actions instead.
【Title】 (H1/H2) and 「Title」 (H3+)• / ◦ / ▪ by depth, indented with full-width spaces (WeChat keeps these; it collapses leading half-width spaces)☐ / ☑|, horizontal rules → ————————|---| separator and join cells with |text(url) (bare URLs and autolinks are kept as-is so WeChat makes them tappable); images become [图片:alt]Right-click in the editor and choose:
All three are also available from the Command Palette (Cmd/Ctrl+P), so you can bind hotkeys.
If text is selected, only the selection is converted; otherwise the whole note is used.
Desktop only. Copying images to the clipboard relies on desktop APIs.
The AI 排版 action calls any OpenAI-compatible chat/completions endpoint. Open Settings → Copy to WeChat and fill in:
https://api.deepseek.com/v1 or https://openrouter.ai/api/v1data.json; it is only ever sent to the endpoint you configuredeepseek-chatIf no API key is configured, or the request fails or times out, the AI action automatically falls back to the rule-based text conversion above, so it never hard-fails.
Settings → Community plugins → Browse → search "Copy to WeChat" → Install → Enable.
main.js, manifest.json, and styles.css from the latest release.<vault>/.obsidian/plugins/copy-to-wechat/.npm install
npm run build # produces main.js
npm test # run the unit tests
For development, npm run dev rebuilds on change.
MIT © jerryshi