Typeset Audit

Audit and fix line-break quality in English long-form web prose: orphans, widows, weak line endings, and ragged right edges. Unlike typography advice, this is a machine-checkable gate — audit() returns [] or it names the exact failing lines, and a composition that fails its own self-check restores the browser's layout. Installs the typeset.us paragraph compositor (beam-search line breaking with post-render self-verification) to fix what the audit finds. Use when asked to check or fix orphans, widows, or bad line breaks; when text-wrap: pretty or balance isn't enough; or for symptoms like "one word alone on the last line", "the right edge looks ragged", or "line breaks look wrong after deploy".

speedwarnsf b2a2da3 16 files · 141.7 KB Updated

File contents

speedwarnsf/web-typography/tree/main/ commit b2a2da3082

Frequently asked questions

npx skillmds@latest add speedwarnsf/typeset-audit