Make your XML pretty. A frontend to the xmlem
crate.
- It pretty prints your XML
- Outputs to file, terminal or replaces original file
- Handle entities properly and can enforce hex entities
- Customisable indentation width and maximum file width
- Ought not eat your comments even if they're outside the root element
cargo install --git https://github.com/bbqsrc/xml-pretty
Use xml-pretty --help
to see the flags.
Simplest invocation is xml-pretty <file>
.
This project is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.