npm / @sanity/code-input
@sanity/code-input
What changed in @sanity/code-input 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@sanity/code-input 71 changes
Fixes and other changes 1
Inline code previews no longer overflow surrounding portable text; the label shows the first line capped at 20 characters, or the language or UNKNOWN if that line is empty.