Markdown Preview

Real-time Markdown → HTML preview

Hello, Markdown!

这是一个实时预览编辑器,输入 Markdown,右侧即时渲染。

功能列表

  • 标题(H1 ~ H6)
  • 粗体斜体
  • 有序和无序列表
  • 行内代码 和代码块
  • 链接 和图片
  • 表格

代码示例

const greet = (name) => `Hello, ${name}!`
console.log(greet('World'))

表格

名称 类型 说明
name string 用户名
age number 年龄

What is Markdown?

Markdown is a lightweight markup language that uses plain text formatting to achieve rich text output. Widely used on GitHub, blogs, and documentation sites.

Supported Syntax

• Headings (#)
• Bold and italic
• Ordered and unordered lists
• Code blocks (```)
• Tables
• Links and images