Skip to content

docs(fmt): document XML and SVG support in deno fmt#3189

Merged
bartlomieju merged 1 commit into
mainfrom
fmt-document-xml-svg
Jun 5, 2026
Merged

docs(fmt): document XML and SVG support in deno fmt#3189
bartlomieju merged 1 commit into
mainfrom
fmt-document-xml-svg

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

deno fmt formats .xml and .svg files by default. They are routed
through the same markup formatter as HTML (see cli/tools/fmt.rs in
denoland/deno, where "html" | "xml" | "svg" all dispatch to
format_html) and require no unstable flag, but they were missing from
the supported file types table on this page.

This adds XML and SVG rows alongside HTML so the documented capabilities
match the actual behavior.

Reported in denoland/deno#34309.

`deno fmt` formats .xml and .svg files by default (handled by the same
markup formatter as HTML, with no unstable flag required), but they were
missing from the supported file types table. Add them.

Addresses denoland/deno#34309.
@bartlomieju bartlomieju merged commit 0fad60c into main Jun 5, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant