# ## ### Live Markdown Editor

Markdown Editor & Generator

实时预览,GitHub Flavored Markdown,提供 README / API 文档 / Changelog 模板。 本地自动保存。导出为 .md 或独立 .html

编辑器

0 词 · 0 字符 · 1 min 阅读

预览

已自动保存

A complete Markdown workbench in your browser

Whether you're writing a README, an API reference, a changelog, a blog post or just notes, this editor gives you live preview, sensible defaults, and the export options you actually need — all running locally, no signup, no upload.

GitHub Flavored Markdown (GFM)

The parser is marked v12, the same engine that powers many static-site generators and code editors. It supports the GFM features developers expect:

内置目录

Insert [[toc]] anywhere in your document and we'll generate a navigable list of all H2/H3/H4 headings. Useful for long READMEs and reference docs.

轻量代码高亮

Code blocks are syntax-highlighted with a minimal in-house engine that recognizes strings, comments, numbers and common keywords across JavaScript, Python, Go, Rust, SQL and shell. It's not as fancy as Prism or highlight.js but it adds under 1 KB instead of 80-200 KB. For most documentation purposes the difference is invisible.

可用模板

Pick one from the dropdown to instantly bootstrap:

两种导出格式

安全 HTML 输出

Markdown allows inline HTML, which means a malicious Markdown source could inject scripts or unsafe URLs (javascript:, etc.) into the HTML output. We sanitize everything with DOMPurify, the same library used by Gmail, ProseMirror and many other products. You can safely copy the HTML output and paste it into a CMS, blog or email without worrying about XSS.

自动保存

Your draft is saved to your browser's localStorage every 2 seconds. Close the tab, come back tomorrow — your text will still be there. (It's local only — never uploaded.)

键盘快捷键

隐私

Everything runs in your browser tab — markdown parsing, sanitization, rendering, saving. We don't upload your content, log your usage, or run analytics on what you type. The only network requests this page makes are the one-time CDN loads of marked and DOMPurify.

常见使用场景

常见问题

Markdown 编辑器支持哪些功能?
支持完整的 CommonMark 和 GFM(GitHub Flavored Markdown)语法,包括表格、任务列表、代码高亮、数学公式和自动链接。实时预览让您即时看到渲染结果。
Markdown 编辑器会上传我的内容吗?
不会。所有编辑和预览都在浏览器中完成。使用 marked.js 库进行客户端渲染,您的文本永远不会离开设备。
可以导出哪些格式?
您可以将内容导出为原始 Markdown(.md)文件或渲染后的 HTML 文件。HTML 导出包含完整样式,可直接用于网页或邮件。
Markdown 编辑器适合什么用途?
非常适合撰写 README 文件、博客文章、文档、笔记和报告。实时预览功能让您在编写时就能看到最终效果,无需在多个工具间切换。
Markdown 编辑器免费吗?有使用限制吗?
完全免费,没有使用限制、无需注册。所有处理都在浏览器本地进行,您的内容始终保持私密。

相关工具