Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 829 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 829 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/xmlem/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.