Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

pretext-docs

Estrellas1
Forks0
Actualizado29 de marzo de 2026 a las 17:09

API reference for @chenglou/pretext — a pure JS/TS library for measuring and laying out multiline text without DOM reflows. Use when you need to look up a pretext function signature, understand the two-phase prepare/layout model, find the right function for a use case (height-only vs line content vs variable-width), check PrepareOptions or LayoutCursor types, or orient yourself before writing code that uses pretext. Also use when user says "pretext API", "pretext docs", "pretext types", "how does pretext work", "pretext functions", or "what does prepare/layout/layoutWithLines/walkLineRanges do".

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

SKILL.md
readonly