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 从公开仓库中收录这些内容。

举报或申请下架