Skip to main content
Run any Skill in Manus
with one click

pretext

Stars8
Forks1
UpdatedMarch 29, 2026 at 18:47

Build with @chenglou/pretext — a pure JS library for multiline text measurement and layout without DOM reflows. Use when importing or working with @chenglou/pretext, building canvas-rendered text, measuring text height without DOM, implementing variable-width text reflow, rendering text to canvas/SVG/WebGL, or building interactive text-heavy UIs that need jank-free layout. Also use when the user mentions "pretext", "text layout without DOM", or "canvas text rendering".

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly