CmdID

CmdID / Commands

tidy

Clean up and pretty print HTML, XHTML, and XML files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Clean up and pretty print HTML, XHTML, and XML files. Note: tidy cannot preserve original indentation.

Pretty print an HTML file

tidy path/to/file.htmlIdentify

Enable indentation, wrapping lines in 100, saving to output.html

tidy --indent y --wrap 100 -output path/to/output.html path/to/file.htmlIdentify

Modify an HTML file in-place using a configuration file

tidy -config path/to/configuration -modify path/to/file.htmlIdentify