a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

portable-text-conversion

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…

Full publisher description

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.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

sanity-io/agent-toolkit

skills/portable-text-conversion/SKILL.md

Pinned revision 3ed3a143f8d3413faa7790ac0b2274fd3a8a6320

Source checked

Reviewed licence: MIT
Specific instruction/source terms; preserve the linked licence conditions, notices and attribution.

Reviewed publisher revision ↗ · 2026-11-22

This skill page is available in English. Publisher instructions stay in their original language.