Project Position
Doocs/md is the flagship product of the GitHub open-source organization Doocs, built to solve the headache of WeChat Official Account typesetting. Write in pure Markdown and get publication-ready articles in one click.
Key Features
- WeChat-Compatible HTML: Generates 100 % WeChat-compliant rich-text, zero distortion after pasting.
- One-Click Copy: Hit the “Copy” button and paste directly into the WeChat editor—no extra steps.
- Multiple Themes: 8+ beautiful themes (tech, minimal, literary…) plus custom CSS injection.
- Code Highlighting: Prism.js supports 200+ languages, line numbers, highlighted lines, diff view.
- Math Typesetting: KaTeX for inline & block equations, perfect for academic posts.
- Image Hosting: Drag/drop or paste images to GitHub, Aliyun, Tencent Cloud, Qiniu, etc.
- Table Enhancement: WeChat-optimized tables with merged cells and zebra striping.
- Auto TOC: Generates anchor navigation for long articles.
- Local Draft Backup: Auto-saved to browser storage—never lose your work.
- Offline Ready: PWA enabled; install as a desktop app and write without internet.
Quick Start
- Use online: https://doocs.github.io/md
- Clone:
git clone https://github.com/doocs/md.git
- Install:
npm install
- Dev server:
npm run dev
Tech Stack
Vue 3 + Vite + TypeScript + Prism + KaTeX + Pinia + Element Plus
License
MIT — free for commercial use and derivative works. Star & PR welcome!