Skip to content

Commit

Permalink
.af += HTML pretty print
Browse files Browse the repository at this point in the history
  • Loading branch information
awdeorio committed Feb 24, 2023
1 parent abe1a61 commit 6d7495e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .always_forget.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,9 @@ python -c 'import sys, json; print json.load(sys.stdin)["results"]' # ^^^
cat FILE.xml | python2 -c 'import sys;import xml.dom.minidom;s=sys.stdin.read();print xml.dom.minidom.parseString(s).toprettyxml()' # Pretty print
cat FILE.xml | xmlstarlet format # Pretty print

# HTML
tidy FILE.html # Pretty print HTML


########################################
# Java
Expand Down

0 comments on commit 6d7495e

Please sign in to comment.