Mars-Editor-Web (whyubel1eve/Mars-Editor-Web)
Searching Database…
What is this?
Mars Editor is a Markdown writing tool that converts your draft into inline-style rich text with one click, so you can paste it directly into the WeChat official account (微信公众号) editor without losing formatting.
Is this a desktop app or something I use in the browser?
It is a web app built with React, TypeScript and Vite, running entirely client-side (editing, preview and storage all happen in your browser).
How do I start writing with it?
Write Markdown in the editor pane and watch it render live in the synced preview pane, then use the one-click copy button to get a WeChat-ready rich text block you can paste straight into the official account editor.
Do I need a backend or any API keys to use it?
No backend or API keys are needed — it runs fully client-side, and even zip reading/writing for backups is implemented without third-party libraries, using the browser's native CompressionStream.
Why does the theme system only produce inline styles instead of CSS classes?
Because the WeChat official account editor strips out class attributes and style tags on paste, keeping only inline styles, so Mars Editor's theme system is designed to output nothing but inline style strings to guarantee the preview matches what actually survives pasting.
Do I need to upload images to an image host first?
No — images are embedded as data URIs, and testing shows they survive unchanged once pasted into the WeChat backend editor, so you can write and copy without a separate image host.
What export formats are supported?
You can export the current draft as plain .md, export all drafts as a .zip backup (drafts plus original images and a manifest.json), or export the rendered post as a single 750px-wide long .png image.
How does the editor handle themes and layout density?
It ships multiple built-in light/dark paper themes you can switch between, plus three spacing density presets (compact/standard/loose), with 'standard' matching each theme's original design.
What are similar projects?
md, wechat-style-extractor, vue-manage-system, html-anything, d2-admin, stackedit, qaryaty-smart-village, newsnow
Which topics is it in?
zip, rich-text-editor, markdown-editor, converter, writing, wechat, cloudflare, content-creation, vite, offline, china, local-first