Skip to content
edge
3,000 installs on skills.sh

Portable Text Conversion

Convert HTML and Markdown content into Portable Text blocks for Sanity.

Use in my agent
Use Edge to load the skill portable-text-conversion from sanity-io/agent-toolkit for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
sanity-io/agent-toolkit
Security state: reviewed

2 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md4 files · 19.9 KB

From the sanity-io public repository. Edge did not write or edit this skill.

What it does

  • 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.
SA

Why Sanity

Content management platform for web and apps. Each fact links its public source.

  • Named customer logos

    Sanity's site shows Shopify, Figma, Spotify, Linear and Anthropic under 'Trusted by leaders and innovators'.

    Sanity site
  • Core studio repo

    The sanity repo has 6.3k+ GitHub stars.

    GitHub repo

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Portable Text Conversion.

Related skills

Questions about Portable Text Conversion

What does Portable Text Conversion do?

Convert HTML and Markdown content into Portable Text blocks for Sanity. Published by Sanity (sanity-io/agent-toolkit).

Is Portable Text Conversion safe to use?

Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 17, 2026). The Evidence tab shows the scan.

How do I use Portable Text Conversion in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.

Give your agent Portable Text Conversion.

Free. No Edge account.

Use Portable Text Conversion in your agent

Claude app

Add to Claude

Opens claude.ai in your browser. Add it once, and Edge is in the Claude desktop and phone apps too.
Then click Continue Add Connect and open a new chat.

Already added? Open a new chat in Claude.

ChatGPT

Add to ChatGPT

Opens the Edge plugin in ChatGPT. Click Install plugin, then start a new chat.

Claude Code or Codex

Free · No Edge accountOther agents