Markdown 编辑器使用指南
Markdown 是一种轻量级标记语言,由 John Gruber 于 2004 年创建。它使用纯文本格式语法,可以轻松转换为 HTML,广泛用于技术文档、博客、README 文件和在线论坛。
本编辑器功能:
- 实时预览:左侧输入 Markdown,右侧即时渲染 HTML 预览
- 编辑工具栏:快捷插入标题、粗体、斜体、删除线、代码、列表、引用、链接、图片等语法
- 键盘快捷键:Ctrl+B 粗体、Ctrl+I 斜体、Tab 缩进
- 文件操作:上传 .md 文件、下载 .md 文件、导出 HTML、导出 PDF
- 自动保存:编辑内容自动保存到 localStorage,刷新页面不丢失
支持的 Markdown 语法:标题(H1-H6)、粗体、斜体、删除线、有序/无序列表、任务列表、行内代码、代码块、链接、图片、引用、表格、水平线。
所有渲染在浏览器本地完成,无需服务器处理,您的数据始终安全。
Markdown Editor Guide
Markdown is a lightweight markup language created by John Gruber in 2004. It uses plain text formatting syntax that can be easily converted to HTML. It's widely used for technical documentation, blogs, README files, and online forums.
Editor features:
- Live preview — Type Markdown on the left, see rendered HTML on the right in real time
- Formatting toolbar — Quickly insert headings, bold, italic, strikethrough, code, lists, blockquotes, links, images
- Keyboard shortcuts — Ctrl+B for bold, Ctrl+I for italic, Tab for indent
- File operations — Upload .md files, download .md, export HTML, export PDF
- Auto-save — Content is saved to localStorage automatically, survives page refresh
Supported Markdown syntax: headings (H1-H6), bold, italic, strikethrough, ordered/unordered lists, task lists, inline code, code blocks, links, images, blockquotes, tables, horizontal rules.
All rendering is done locally in your browser — no server processing required. Your data stays safe.