Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

pretext

Sterne3
Forks0
Aktualisiert5. April 2026 um 09:48

Multiline text measurement and line breaking without DOM layout (Pretext / @chenglou/pretext). Use when implementing virtualization (fixed/predictable row heights), masonry or custom text layouts, canvas/SVG text, textarea auto-height, shrink-to-fit width, or avoiding getBoundingClientRect/offsetHeight reflows. Also use when the user says Pretext, 文本测量, 无 DOM 换行高度, or line-break layout in TypeScript.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly