pretext plugin
Help developers use @chenglou/pretext for line breaks and heights without DOM reflows
How to install the pretext plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add yaniv-golan/pretext-skill
/plugin install pretext@pretext-marketplaceWhat's inside pretext
1 part read from the plugin's own files.
Skills 1
Claude loads it when the task matches- pretext
A TypeScript library that predicts browser line breaks and text heights using canvas measurements without triggering DOM reflow.
Using pretext in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update pretext@pretext-marketplace
- Refresh the marketplace
- /plugin marketplace update pretext-marketplace
- Turn it off for now
- /plugin disable pretext@pretext-marketplace
- Remove it
- /plugin uninstall pretext@pretext-marketplace
Skills in pretext
- pretextyaniv-golan/pretext-skill
A TypeScript library that predicts browser line breaks and text heights using canvas measurements without triggering DOM reflow.
10 files15stars
pretext plugin questions
How do I install the pretext plugin?
In Claude Code run /plugin marketplace add yaniv-golan/pretext-skill, then /plugin install pretext@pretext-marketplace.
What does the pretext plugin include?
pretext bundles 1 skill.
How do I update or remove the pretext plugin?
Update it with claude plugin update pretext@pretext-marketplace in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall pretext@pretext-marketplace.