Repolode
doocs

doocs/md

A WeChat Official Account Markdown editor that converts Markdown into styled WeChat articles, with custom themes, multiple image hosts and AI writing help.

Stars
13,446
Forks
2,404
Open issues
11
Last commit
yesterday

What is it?

doocs/md is a browser-based Markdown editor for writing WeChat Official Account articles. Write in standard Markdown and the preview is rendered as clean, styled WeChat article content, so authors do not need to adjust layout by hand.

The editor supports KaTeX math, Mermaid and PlantUML diagrams, GFM alert blocks and Ruby annotations. Code blocks offer several highlight themes, and theme colors and CSS can be customized. Drafts are saved locally, and editor preferences can be synced after login.

Images can be uploaded to GitHub, Alibaba Cloud OSS, Tencent COS, Qiniu, MinIO, S3-compatible storage, Cloudflare R2, Cloudinary, Telegram, the WeChat image host or a custom uploader. It can be run as an online app, an npm CLI, a Docker container, a Chrome or Firefox extension, or a uTools plugin.

Key features

  • 01Renders standard Markdown into WeChat-friendly styled article content.
  • 02Supports KaTeX math, Mermaid and PlantUML diagrams, and GFM alert blocks.
  • 03Offers customizable themes, code highlight styles and CSS.
  • 04Uploads images to many hosts, including GitHub, Alibaba Cloud, Tencent COS and S3-compatible storage.
  • 05Integrates AI models such as DeepSeek, OpenAI and Qwen to assist writing.
  • 06Keeps local drafts with auto-save and imports or exports files.

Use cases

  • Formatting technical or long-form articles for a WeChat Official Account without manual typesetting.
  • Writing Markdown drafts offline-friendly in the browser and publishing them to WeChat.
  • Self-hosting a private Markdown-to-WeChat editor with Docker or the npm CLI.
  • Hosting article images on your own object storage or a preferred cloud provider.

Quick start

  1. 1

    Install the CLI globally with npm

    npm i -g @doocs/md-cli
  2. 2

    Start the server (default port 8800)

    md-cli

Things to know

  • Requires Node.js 22 or newer for development builds.
  • Self-hosted CLI needs a dcloud spaceId and clientSecret for some cloud features.

Topics

FAQ

What is md?
A WeChat Official Account Markdown editor that converts Markdown into styled WeChat articles, with custom themes, multiple image hosts and AI writing help. doocs/md is a browser-based Markdown editor for writing WeChat Official Account articles. Write in standard Markdown and the preview is rendered as clean, styled WeChat article content, so authors do not need to adjust layout by hand.
Is md free to use? What license does it have?
md is open source under the WTFPL license. Check the license terms before using it in commercial products.
Is md still maintained?
Actively maintained. The last commit to md was on Oct 20, 2026.
What can I use md for?
Formatting technical or long-form articles for a WeChat Official Account without manual typesetting. Writing Markdown drafts offline-friendly in the browser and publishing them to WeChat. Self-hosting a private Markdown-to-WeChat editor with Docker or the npm CLI. Hosting article images on your own object storage or a preferred cloud provider.
How do I install md?
Install the CLI globally with npm: npm i -g @doocs/md-cli Start the server (default port 8800): md-cli
Where can I get md?
The source code and installation instructions are on GitHub: https://github.com/doocs/md

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects