tidy

(★ 15)

No description available.

File Explorer

  • .gitignore
  • CLAUDE.md
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

go build

View Details ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

tidy

View Details ▼

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

tidy {{path/to/file.html}}

Pretty print an HTML file:

tidy {{[-i|--indent]}} y {{[-w|--wrap]}} 100 {{[-o|-output]}} {{path/to/output.html}} {{path/to/file.html}}

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

tidy -config {{path/to/configuration}} {{[-m|-modify]}} {{path/to/file.html}}

Modify an HTML file in-place using a configuration file:

// repository documentation