Markdown Editor
在线 Markdown 编辑器,支持实时预览、代码高亮、GFM 语法
Markdown 输入
预览
Markdown Editor
Welcome to the Markdown Editor! This is a powerful online tool for writing and previewing Markdown.
Features
- ✅ Real-time preview
- ✅ GitHub Flavored Markdown (GFM)
- ✅ Syntax highlighting for code blocks
- ✅ Tables, task lists, and more
- ✅ Export to Markdown file
Text Formatting
You can make text bold, italic, or bold and italic.
You can also use strikethrough text.
Lists
Unordered List
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Item 3
Ordered List
- First item
- Second item
- Third item
Task List
- Completed task
- Incomplete task
- Another task
Code
Inline code: const greeting = "Hello, World!";
Code Block with Syntax Highlighting
function fibonacci(n) {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
console.log(fibonacci(10)); // Output: 55
def quicksort(arr):
if len(arr) <= 1:
return arr
pivot = arr[len(arr) // 2]
left = [x for x in arr if x < pivot]
middle = [x for x in arr if x == pivot]
right = [x for x in arr if x > pivot]
return quicksort(left) + middle + quicksort(right)
print(quicksort([3, 6, 8, 10, 1, 2, 1]))
Tables
| Feature | Supported | Notes |
|---|---|---|
| Headers | ✅ | H1-H6 |
| Lists | ✅ | Ordered & Unordered |
| Code | ✅ | Inline & Blocks |
| Tables | ✅ | GFM Tables |
| Links | ✅ | Example |
Links and Images
Blockquotes
This is a blockquote.
It can span multiple lines.
Nested blockquotes are also supported.
Horizontal Rule
HTML Support
You can also use HTML in Markdown!
Happy writing! 🚀
支持的功能
✅ 基础语法
- • 标题 (H1-H6)
- • 粗体、斜体、删除线
- • 列表(有序、无序)
- • 链接和图片
- • 引用块
- • 水平分割线
✅ 高级功能
- • GitHub Flavored Markdown (GFM)
- • 表格
- • 任务列表
- • 代码块语法高亮
- • HTML 支持
- • 自动链接