
Portable Text Conversion
作者 sanity-io88d6cdfa7cb0MIT188 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 天前更新
Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers @portabletext/markdown (markdownToPortableText), @portabletext/block-tools (htmlToBlocks), custom deserializers, and the Portable Text specification for manual block construction.
僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。
| 路徑 | 大小 | 類型 |
|---|---|---|
| rules/html-to-pt.md | 6.9 KB | text/markdown |
| rules/manual-construction.md | 4.9 KB | text/markdown |
| rules/markdown-to-pt.md | 5.5 KB | text/markdown |
| SKILL.md | 2.6 KB | text/markdown |
來源與署名
來源:sanity-io/agent-toolkit位於skills/portable-text-conversion提交88d6cdf
授權條款: MIT
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 sanity-io/agent-toolkit 的技能

Seo Aeo Best Practices
sanity-io
SEO 與 AEO 參考指南:中繼資料、結構化資料、EEAT 以及針對 AI 答案的優化。

Sanity Studio Upgrade
sanity-io
透過檢查程式碼倉庫,規劃 Sanity Studio v3 及更新版本的升級,只回報實際適用的破壞性變更。

Sanity Migration
sanity-io
規劃、實作並審查從其他 CMS 與內容系統遷移至 Sanity 的工作。

Portable Text Serialization
sanity-io
指導將 Sanity Portable Text 渲染與序列化為 React、Svelte、Vue、Astro、HTML、Markdown 及純文字。

Content Modeling Best Practices
sanity-io
為無頭 CMS 的結構化內容建模提供指引,涵蓋結構描述設計、內容重用、參照與分類法。

Content Experimentation Best Practices
sanity-io
為內容實驗與 A/B 測試的規劃與結果解讀提供指引,以提升轉換率和參與度。
更多Documents & Office技能
openai
讀取、建立並以視覺方式檢查 PDF 檔案,將頁面算繪成影像,並使用 Python 函式庫進行產生與擷取。

View Pdf
anthropics
在互動式檢視器中開啟 PDF,用於註解、填寫表單和放置視覺化簽名。

Wiki Ado Convert
microsoft
產生一個 Node.js 指令碼,將 VitePress/GFM markdown 轉換為相容 Azure DevOps Wiki 的 markdown 副本。

Esign Field Placement
affaan-m
以書面工作流程約定,用數值座標在瀏覽器簽署器中放置電子簽章欄位,預設存為草稿並設操作員閘門。

Visa Doc Translate
affaan-m
將簽證申請文件影像翻譯成英文,並產出包含原圖與譯文的雙語 PDF。

Google Workspace Ops
affaan-m
操作 Google Workspace 的文件、試算表、簡報與雲端硬碟資源:尋找、檢查、編輯並清理共用檔案。