Format local HTML, CSS or YAML
abox_code_formatPretty-print HTML, CSS, or YAML and minify HTML/CSS files locally, validating protected text, syntax tokens, or YAML values before saving output.
Instructions
Pretty-print HTML/CSS/YAML or minify supported HTML/CSS with the existing website engines. Verifies protected raw text, supported syntax tokens or YAML values before saving. HTML formatting can change ordinary whitespace and implicit closing; this is not HTML sanitization or a promise of identical rendering. Never executes input or fetches linked resources. Requires no browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | ||
| minify | No | ||
| language | Yes | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |