Lightlines
By sanity-io

portable-text-conversion

sanity-io

Turn external rich text into Sanity-ready blocks.

content migration

What it does

Converts HTML, Markdown, and other source data into Portable Text blocks for Sanity.

When to use it

Use for content migrations, Sanity imports, external-content pipelines, rich-text conversion, or programmatic Portable Text creation.

How to use it

Give it HTML, Markdown, or other source data; it produces Portable Text blocks in the project.

What you provide

  • source content

Uses


Access · 3

This skill

Sanity

Write

Uploads and replaces Sanity content (irreversible)

WordPress

Read

Fetches WordPress posts

image URLs

Read

Downloads external images

Good to know

  • cannot be undone: Sanity

What you need · 0

No setup requirements listed in the analysis.


About this skill

Visibility
Public
Repository
sanity-io/agent-toolkit
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
4