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個字元。