# Tidy Processor

## Purpose

Validates HTML files using [HTML Tidy](https://www.html-tidy.org/).

## How It Works

Discovers `.html` and `.htm` files in the project (excluding common build tool
directories), runs `tidy -errors` on each file, and records success in the cache.
A non-zero exit code from tidy fails the product.

This processor supports batch mode.

## Source Files

- Input: `**/*.html`, `**/*.htm`
- Output: none (checker)

## Configuration

```toml
[processor.tidy]
args = []
extra_inputs = []
```

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| `args` | string[] | `[]` | Extra arguments passed to tidy |
| `extra_inputs` | string[] | `[]` | Extra files whose changes trigger rebuilds |
