Portable Text Conversion

by sanity-io88d6cdfa7cb0MITListed Oct 8, 2026Updated Oct 8, 2026

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.

Instructions onlyDocuments & Office
  1. 88d6cdfa7cb0Currentcommit 88d6cdfPublished Oct 8, 2026

Source and attribution

Source:sanity-io/agent-toolkitinskills/portable-text-conversionat commit88d6cdf

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal