📝 Markdown Live Preview

在左侧输入 Markdown 内容,这里会实时预览...

📚 深度解析:Markdown 转换 / 预览

💡 常见使用场景

  • 写 README、博客与文档:实时把 Markdown 渲染为带标题、列表、表格、代码的排版,确认效果后再发布。
  • Markdown 转 HTML:把写好的 .md 导出为网页片段,嵌入 CMS 或邮件。
  • 格式校验:检查嵌套列表、代码块围栏是否闭合,避免发布后错版。
渲染一份带表的说明
输入「| 项目 | 价格 | |---|---| | A | 9 |」,实时得到两列表格;配合 ```js 代码围栏可并排展示语法高亮,确认 GFM 表格与代码块都正确。

❓ 常见问题(FAQ)

和标准 Markdown 有差异吗?
本工具按 GitHub 风格 GFM 解析(支持表格、删除线、任务列表);若你用严格 CommonMark,部分扩展语法(如表格)在标准里不定义,迁移时注意。
HTML 混写安全吗?
Markdown 允许内联 HTML,但发布到公网前需确认不过滤危险标签;本工具仅本地渲染,不上传内容。

Formula & Standard References

Item Formula / Note Source / Standard
Specification rendering follows the CommonMark specification for ambiguous syntax CommonMark Specification
Extensions tables task lists and strikethrough are extensions defined by GitHub Flavored Markdown GitHub Flavored Markdown Spec
Sanitisation scripts and event attributes must be filtered before rendering to prevent injection OWASP Cross Site Scripting Prevention
⚠️ 使用说明与注意事项