Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 830 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 830 Bytes

xml-pretty

Make your XML pretty. A frontend to the xmlem crate.

Features

  • 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

Installation

cargo install --git https://github.com/bbqsrc/xml-pretty

Usage

Use xml-pretty --help to see the flags.

Simplest invocation is xml-pretty <file>.

License

This project is licensed under either of

at your option.