MD Editor
编辑草稿自动保存
查找替换—
替换前建议先导出备份,替换后可用撤销(Ctrl+Z)回退。
导出
HTML 为独立文件,样式内联,双击即可打开;md 保留原文。
预览GitHub 风格
文档信息本机草稿
停止输入 150ms 刷新预览,每 2 秒保存草稿。
How to Use
📖 What it does
Markdown is the fastest way to draft a README or an article, but many online editors either lack a preview or lose the draft on refresh. This tool keeps editing, preview and export on one screen. Type on the left, see the rendered result on the right, and every two seconds the draft is saved in your browser.
It is not a note-taking system. It solves one loop: write some Markdown, check how it looks, export a file you can send.
On a 10,000-character document the preview updates about 33 ms after you stop typing, one frame. Rendering works in line blocks, so only the rows around the edit are re-laid out and scrolling the editor never fights the preview.
The draft is written to local storage every two seconds, capped at 200,000 characters per document. Past 80,000 characters the browser reflow cost becomes visible; split long work into chapters.
The workspace exposes 5 controls, from 查找 to 文件名(不含扩展名), and every one of them only affects the local rendering: nothing is sent back to a server.
The 查找 control takes free text and feeds it straight into the preview without sending it anywhere.
The 替换为 control takes free text and feeds it straight into the preview without sending it anywhere.
The 替换为 control toggles a single behaviour on or off; the preview updates at once and the exported file follows the current state.
The 区分大小写 control toggles a single behaviour on or off; the preview updates at once and the exported file follows the current state.
The 文件名(不含扩展名) control takes free text and feeds it straight into the preview without sending it anywhere.
✨ Features
- Live preview re-renders 150 ms after you stop typing.
- Toolbar for headings, bold, italic, inline code, code blocks, lists, quotes, links, images, tables and rules.
- GitHub-style tables and fenced code blocks with a language label.
- Draft autosaved to local storage every two seconds and restored on reload.
- Live counts for characters, words without spaces, lines, headings and code blocks.
- Two exports: the .md source, or a styled standalone .html file.
🚀 How to use
- Type in the editor, or press Load sample to see a full draft.
- Select text and press a toolbar button; heading and list buttons insert at the line start.
- The preview updates as you type, rendering tables, code and quotes GitHub style.
- Rename the file if needed, then export .md or .html.
- Reloading restores the draft; Clear removes the local copy after confirmation.
⚠️ Before you rely on it
- Autosave is local: drafts live in local storage and do not follow you across devices or browsers. Export anything important.
- Not a full implementation: footnotes, math, inline HTML and reference links are unsupported and show as plain text.
- Preview differs from publishing: exported HTML uses built-in styling, and WeChat or other platforms will restyle it again.
- Images stay links: image syntax keeps the URL; nothing is fetched or rehosted.
- Large documents: keep a single file under about 200k characters; preview throttles beyond that but export still works.
- Clear cannot be undone: it also removes the local draft, so export first.
Questions people ask: Q: Is my draft kept after a refresh? A: Yes, it autosaves locally every two seconds and restores on reload; it does not sync across devices. Q: Can I paste the exported HTML into WeChat? A: You can, but the platform restyles it, so check its own preview. Q: Why is my table not rendering? A: A table needs a separator row such as | --- | --- | and the same number of columns on every row. Q: Does a very long document lag? A: Under 50,000 characters it stays smooth. Past 80,000 the preview scroll drops frames, which is browser reflow cost and unrelated to network or upload.
Typical use: Drafting a README or technical note with instant rendering. Building the structure and tables of a long article before pasting into a publishing tool. Taking meeting notes as lists and tables, then exporting HTML for colleagues.
What you can enter: Plain text with headings, lists, tables, code fences, quotes, links, images and rules. Toolbar actions wrap the selection or insert placeholder text at the caret. Autosave runs every two seconds, roughly up to 200k characters.
What you get back: .md is UTF-8 plain text with a custom or default file name. .html is standalone with inline styling, needing no external CSS or scripts.
Limits to keep in mind: No footnotes, math, inline HTML or reference-style links. Drafts are local only, with no cloud sync or version history. Exported HTML uses built-in styling and may differ from the target platform.