tidy HTML indent 字下げ ubuntu
Use a config file with just the indent, tidy-mark, and quiet options:
indent: auto
indent-spaces: 2
quiet: yes
tidy-mark: no
Name it tidy_config.txt and save it the same directory as the .html file. Run it like this:
tidy -config tidy_config.txt index.html