From 1535d0c9768f2a6a0c031cc09eecb589b599c13a Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Thu, 23 Sep 2021 12:27:03 +0200 Subject: [PATCH] Mention XML when explaining formatting --- docs/README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/README.md b/docs/README.md index 7f631011..8814114b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1191,12 +1191,6 @@ There are dozens of styles available, here are just a few notable ones: | `fruity` | A bold, colorful scheme. Enable with `--style=fruity` | | … | See `$ http --help` for all the possible `--style` values | -Also, the following formatting is applied: - -- HTTP headers are sorted by name. -- JSON data is indented, sorted by keys, and unicode escapes are converted - to the characters they represent. - Use one of these options to control output processing: | Option | Description | @@ -1206,6 +1200,14 @@ Use one of these options to control output processing: | `--pretty=format` | Apply formatting | | `--pretty=none` | Disables output processing. Default for redirected output | + +Formatting has the following effects: + +- HTTP headers are sorted by name. +- JSON data is indented, sorted by keys, and unicode escapes are converted + to the characters they represent. +- XML and XHTML data is indented. + You can further control the applied formatting via the more granular [format options](#format-options). ### Format options