Check markup
check_markupValidate HTML, JSX, or templates for unknown or legacy pui-* classes before returning markup. Reports each issue with line number and the correct or replacement class.
Instructions
Lists every pui-* class in the HTML that Perfect UI 1.0.0 does not define (kind "unknown"), with its line and the closest real class, and every Perfect UI 0.23.0 class that the migration guide renames (kind "legacy"), with the guide's replacement. Reads class and className attributes only; other classes (your own, Tailwind) are ignored. Call it on any markup before returning it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML, JSX or a template, up to 100000 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| checked | Yes | ||
| version | Yes | ||
| findings | Yes |