Markdown转HTML
将Markdown文本转换为HTML。支持CommonMark以及GitHub风格的扩展(表格、删除线、任务列表)。
Hello
This is bold and italic.
<p><h1>Hello</h1></p><p>This is <strong>bold</strong> and <em>italic</em>.</p>
如何使用本工具
- 1
Type or paste your Markdown into the input on the left.
- 2
Watch the rendered preview and the generated HTML update live.
- 3
Copy the HTML to drop into a web page, CMS field, or email template.
什么是Markdown转HTML?
Markdown是最流行的轻量级标记语言:GitHub的README、Stack Overflow、Discord以及大多数博客平台都在使用它。将Markdown转换为HTML几乎是所有静态站点生成器中的一个构建步骤。本工具使用兼容CommonMark的解析器,并支持GitHub风格的扩展。
常见使用场景
Turn a heading-and-paragraph draft into HTML for a CMS field that only accepts an HTML body.
Convert simple notes or documentation written in Markdown into HTML for an email or knowledge base.
Preview exactly what HTML your basic Markdown produces before pasting it into a page.
Generate quick HTML snippets from Markdown you wrote in your editor.
Teach or debug Markdown by seeing the precise tags each piece of syntax emits.
Produce clean inline HTML for a landing-page section without hand-writing the tags.
常见问题
它支持哪种Markdown变体?▼
输出经过净化处理了吗?▼
相关工具
字数与字符计数工具
在线统计任意文本的字数、字符数、句子数、段落数及阅读时间。随你输入而实时更新。
阅读时间计算器
估算阅读任意文本所需的时间。可在休闲阅读(200词/分)、技术阅读(150词/分)或快速阅读(400词/分)之间选择。
标题分析工具
根据互动潜力为博客文章标题打分。统计有力词、情感词、长度和清晰度。
邮件主题行评测器
根据潜在打开率为邮件主题行打分。检查长度、垃圾邮件触发词和紧迫感标记。
HTML转Markdown
将HTML转换回Markdown。适用于迁移从导出HTML的CMS中获取的内容。
Twitter / X字符计数工具
为Twitter/X帖子统计字符数。由于Twitter的t.co缩短机制,URL会自动计为23个字符。