
Portable Text Serialization
by sanity-io88d6cdfa7cb0MITListed Oct 8, 2026Updated Oct 8, 2026
Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.
- 88d6cdfa7cb0Currentcommit 88d6cdfPublished Oct 8, 2026
Source and attribution
Source:sanity-io/agent-toolkitinskills/portable-text-serializationat commit88d6cdf
License: MIT
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from sanity-io/agent-toolkit

Seo Aeo Best Practices
sanity-io
Reference guidance for SEO and AEO: metadata, structured data, EEAT, and AI answer readiness.

Sanity Studio Upgrade
sanity-io
Plans Sanity Studio upgrades from v3 onward by inspecting a repository and reporting only the breaking changes that apply.

Sanity Migration
sanity-io
Plans, implements, and reviews content migrations from other CMSes and content systems into Sanity.

Portable Text Conversion
sanity-io
Converts HTML and Markdown content into Portable Text blocks for Sanity CMS.

Content Modeling Best Practices
sanity-io
Guidance for designing structured content models in headless CMSes, covering schema design, reuse, references and taxonomies.

Content Experimentation Best Practices
sanity-io
Guidance for planning and interpreting content experiments and A/B tests to improve conversion and engagement.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Testing Strategy
anthropics
Designs test strategies and test plans, covering test types, coverage targets, and example test cases.

Tech Debt
anthropics
Identifies, categorizes, and prioritizes technical debt, producing a scored backlog and phased remediation plan.

System Design
anthropics
Guides system and architecture design through requirements, high-level design, deep dives, scaling, and trade-off analysis.