Prettier XML
Format XML documents consistently when a project uses Prettier.
prettier · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install @prettier/[email protected]. Format an XML inventory with two nested item elements.
What we tested
3.4.2. Format an XML inventory with two nested item elements. Placed the two inventory item elements on separate indented lines.