Home Explore Blog CI



zed

docs/src/languages/xml.md
db232b44a0d4e7f93498abe3b42fe6b1a19961701dc43f1a00000003000001db
# XML

XML support is available through the [XML extension](https://github.com/sweetppro/zed-xml/).

- Tree-sitter: [tree-sitter-grammars/tree-sitter-xml](https://github.com/tree-sitter-grammars/tree-sitter-xml)

## Configuration

If you have additional file extensions that are not being automatically recognized as XML just add them to [file_types](../configuring-zed.md#file-types) in your Zed settings:

```json
  "file_types": {
    "XML": ["rdf", "gpx", "kml"]
  }
```

Chunks
a074de1c (1st chunk of `docs/src/languages/xml.md`)
Title: XML Support in Zed
Summary
Zed supports XML through the XML extension. The page provides a link to the extension and the relevant tree-sitter grammar. It also explains how to configure Zed to recognize additional file extensions as XML by adding them to the 'file_types' setting.