Publish Helper logo

Ghost 的乾淨 HTML

Ghost 是一個為專業部落客和內容創作者打造的現代發佈平台。Ghost 的編輯器能良好處理乾淨的 HTML,但在處理來自 Google Docs 和 Word 的多餘標記時會遇到困難。Publish Helper 可確保您的內容以完全符合預期的格式到達 Ghost。

IGhost 的 HTML 問題

Ghost 的 Koenig 編輯器會嘗試將貼上的 HTML 解析到其卡片系統中,但可能會將帶有 inline styles的內容誤判為格式化文字。以 font-weight:700 表達的粗體文字可能無法正確轉換為 Ghost 的粗體格式。來自 Google Docs 的標題結構通常會以帶有樣式的段落形式貼上,而非正確的標題卡片。

II如何將乾淨的 HTML 貼到 Ghost
  1. 1.

    從 Google Docs、Word 或任何編輯器複製您的內容

  2. 2.

    貼到 Publish Helper 中並點擊「清理 HTML」

  3. 3.

    在 Ghost 的編輯器中,點擊 + 按鈕並選擇「HTML」卡片

  4. 4.

    將乾淨的 HTML 貼到 HTML 卡片中

  5. 5.

    點擊卡片外的區域以預覽渲染的內容

IIIGhost 使用技巧
IV常見問題

可以直接貼到 Ghost 的編輯器嗎?

+

對於簡短、簡單且 HTML 乾淨的內容 — 可以。對於較長的文件或任何從 Google Docs/Word 貼上的內容,使用 HTML 卡片效果最好。Publish Helper 可確保 HTML 足夠乾淨,適用於任一方式。

Ghost 支援來自 Publish Helper 的表格嗎?

+

是的。Ghost 的 HTML 卡片可渲染標準 HTML 表格。先用 Publish Helper 清理表格內容以移除 inline styles,然後貼到 HTML 卡片中。

Ghost 的原生格式化功能呢?

+

Ghost 的 Koenig 編輯器有自己的格式化工具。如果您偏好 Ghost 原生格式,可以以純文字貼上並重新格式化。如果您想保留文件的結構,請使用 Publish Helper + HTML 卡片。

Related Tools & Guides

Ready to clean your HTML?

Open Publish Helper

Last updated: March 2026

更新日誌

v2.2.02026-03-18
  • 新功能AI-Powered Title to SEO Slug — Convert blog titles in any language to SEO-friendly English slugs in under 10 seconds
  • 新功能Slug generator toggle on the main page — generate slugs right after editing, above the fold
  • 新功能Table support — pasted tables from Google Docs now render correctly
  • 新功能Remove <br> after headings cleanup option (on by default)
  • 新功能Partial text selection copy in the HTML code view
  • 新功能Sticky Clean HTML button at the bottom of the page
  • 改進Heading conversion now strips prefixes from existing heading tags and supports Chinese full-width colon (:)
  • 改進Shared footer across all pages
v2.1.22026-03-17
  • 修復Bug fixes and improvements
v2.1.12026-03-16
  • 修復Bug fixes and improvements
v2.1.02026-03-16
  • 新功能Formatted/Raw toggle for the HTML code view
  • 改進Copying from the code panel now always gives clean, unformatted HTML
v2.0.02026-03-16
  • 新功能Welcome to Publish Helper — free online tools for content editors
  • 改進Improved search engine visibility
v1.1.02026-03-16
  • 改進Clipboard copy — clean HTML output matches the code view
v1.0.02026-03-16
  • 新功能Rich text editor with Google Docs paste support
  • 新功能HTML cleanup: strip styles, classes, empty tags, and Google Docs artifacts
  • 新功能Heading conversion from text prefixes to proper HTML tags
  • 新功能Find & replace with regex support and saveable presets
  • 新功能Syntax-highlighted HTML preview with one-click copy