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.

僅含說明Documents & Office

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
rules/html-to-pt.md6.9 KBtext/markdown
rules/manual-construction.md4.9 KBtext/markdown
rules/markdown-to-pt.md5.5 KBtext/markdown
SKILL.md2.6 KBtext/markdown

來源與署名

來源:sanity-io/agent-toolkit位於skills/portable-text-conversion提交88d6cdf

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架