My Tech Notes
vim: format/indent xml file
It requires
xmllint
command.
libxml2-utils
need to be installed:
sudo apt install libxml2-utils
Use vim open the xml file, use the following vim command to reformat:
:%!xmllint --format -
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment