portable-text-serialization

Installation
SKILL.md

Portable Text Serialization

Render Portable Text content across frameworks using the @portabletext/* library family. Each library follows the same component-mapping pattern: you provide a components object that maps PT node types to framework-specific renderers.

Portable Text Structure (Quick Reference)

PT is an array of blocks. Each block has _type, optional style, children (spans), markDefs, listItem, and level.

Installs
1.1K
GitHub Stars
158
First Seen
Apr 12, 2026
portable-text-serialization — sanity-io/agent-toolkit