Skip to main content
Manusで任意のスキルを実行
ワンクリックで

pretext-docs

スター1
フォーク0
更新日2026年3月29日 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".

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly