tidy

Clean up and pretty print HTML, XHTML and XML files. NOTE: tidy cannot preserve original indentation. More information: <https://api.html-tidy.org/tidy/tidylib_api_5.2.0/tidy_cmd.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y tidy
Ubuntu
RUN apt-get update && \ apt-get install -y tidy
Arch Arch Linux
RUN pacman -S --noconfirm tidy
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y tidy
CentOS
RUN yum install -y tidy
Fedora
RUN dnf install -y tidy
Raspbian
RUN apt-get update && \ apt-get install -y tidy
click the source code to copy install tidy on any operating system with command-not-found.com