🌐
GitHub
github.com › prettier › plugin-xml
GitHub - prettier/plugin-xml: Prettier XML plugin · GitHub
@prettier/plugin-xml is a prettier plugin for XML. prettier is an opinionated code formatter that supports multiple languages and integrates with most editors.
Starred by 274 users
Forked by 40 users
Languages   JavaScript
🌐
Prettier
prettier.io › docs › plugins
Plugins · Prettier
@prettier/plugin-xml · prettier-plugin-apex by @dangmai · prettier-plugin-astro by @withastro contributors · prettier-plugin-bigcommerce-stencil by @phoenix128 · prettier-plugin-elm by @giCentre · prettier-plugin-erb by @adamzapasnik · prettier-plugin-gherkin by @mapado ·
🌐
Prettier
prettier.io
Prettier · Opinionated Code Formatter · Prettier
Community Plugins · Apex · Elm (via elm-format) Java · PHP · Ruby · Rust · TOML · XML · And more... prettier-js prettier.el Apheleia · espresso-prettier · Prettier Prettier⁺ · JsPrettier · vim-prettier neoformat ALE coc-prettier · JavaScriptPrettier ·
🌐
CodeSandbox
codesandbox.io › examples › package › @prettier › plugin-xml
@prettier/plugin-xml examples - CodeSandbox
Use this online @prettier/plugin-xml playground to view and fork @prettier/plugin-xml example apps and templates on CodeSandbox.
🌐
GitHub
github.com › prettier › prettier › discussions › 13473
How to format XML files using the HTML formatter · prettier/prettier · Discussion #13473
Is there a way to configure prettier to format XML files using the HTML formatter (I would even suggest adding *.xml to the extensions list for the HTML formatter)? I'd like to force this in my global prettier configuration. The XML plugin (https://github.com/prettier/plugin-xml) has serious ...
Author   prettier
🌐
Arch Linux
aur.archlinux.org › packages › prettier-plugin-xml
AUR (en) - prettier-plugin-xml
June 27, 2023 - https://registry.npmjs.org/@prettier/plugin-xml/-/plugin-xml-3.4.1.tgz · aurweb v6.3.4 · Report issues here. Copyright © 2004-2026 aurweb Development Team. AUR packages are user produced content.
🌐
npm
npmjs.com › package › @prettier › plugin-xml › v › 0.3.0
@prettier/plugin-xml - npm
@prettier/plugin-xml is a prettier plugin for XML. prettier is an opinionated code formatter that supports multiple languages and integrates with most editors.
      » npm install @prettier/plugin-xml
    
Published   Jul 08, 2025
Version   0.3.0
Author   Kevin Deisz
🌐
UNPKG
app.unpkg.com › @prettier › plugin-xml@3.4.2
prettier/plugin-xml
prettier plugin for XML · github.com/prettier/plugin-xml · prettier/plugin-xml · 2 folders, 5 files · github.com/prettier/plugin-xml · prettier/plugin-xml · Latest: 3.4.2 ·
Find elsewhere
🌐
Prettier
prettier.io › docs › sharing-configurations
Sharing configurations · Prettier
// index.js const config = { singleQuote: true, plugins: ["prettier-plugin-xml"], }; export default config; // package.json { "name": "@username/prettier-config", "version": "1.0.0", "description": "My personal Prettier config", "type": "module", "exports": "./index.js", "license": "MIT", "publishConfig": { "access": "public" }, + "dependencies": { + "prettier-plugin-xml": "3.4.1" + }, "peerDependencies": { "prettier": ">=3.0.0" } } An example repository can be found here ·
🌐
npm
npmjs.com › package › prettier-plugin-embed
prettier-plugin-embed - npm
December 19, 2025 - Description: Tags that make their subsequent template literals be identified as embedded XML language. This option requires the @prettier/plugin-xml plugin.
      » npm install prettier-plugin-embed
    
Published   Dec 19, 2025
Version   0.5.1
Author   Ze-Zheng Wu
🌐
GitHub
github.com › prettier › prettier › issues › 15517
Prettier 3.0.3 can't use plugin-xml in the context of pre-commit · Issue #15517 · prettier/prettier
July 15, 2023 - - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.0.3 # Use the sha / tag you want to point at hooks: - id: prettier additional_dependencies: - prettier@3.0.3 - "@prettier/plugin-xml@v3.2.1"
Author   kamitchell
🌐
GitHub
github.com › prettier › plugin-xml › blob › main › package.json
plugin-xml/package.json at main · prettier/plugin-xml
Prettier XML plugin. Contribute to prettier/plugin-xml development by creating an account on GitHub.
Author   prettier
🌐
GitHub
github.com › prettier › prettier › issues › 16314
Not formatting any xml files if file extension is not explicitly defined · Issue #16314 · prettier/prettier
April 19, 2024 - > prettier --write . .prettierrc 6ms index.ts 77ms package.json 10ms random-file.yml 0ms · I already tried setting overrides, but the result is the same: ... { {...} "overrides": [ { "files": ["**/*.wsdl", "**/*.xml"], "options": { "parser": "xml", "plugins": ["@prettier/plugin-xml"] } } ] }
Published   May 21, 2024
Author   renke0