# Exporters
Class
## About
`Exporters` holds the export formats an editor offers, keyed by `Exporter.Identifier`. Each `Editor` creates one with the built-in HTML, JSON, Markdown, and plain-text exporters; read it from the editor's read-only `Exporters` property.
```xojo
Editor.Exporters.Add(New UppercaseExporter)
Var markdown As String = Editor.Export("markdown")
If Editor.Exporters.Item("uppercase") <> Nil Then Editor.Exporters.Remove("uppercase")
```
`Add` replaces an exporter with the same identifier, so an application can supply its own `"html"` exporter in place of the built-in one. Identifiers compare without regard to case. `Editor.Export(identifier)` uses the exporter with that identifier. Removing a built-in exporter is allowed; `Export` then returns an empty string for its identifier.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Add | item As GraffitiProEditor.Exporter | (None) | Adds a exporter to the end of the list. A exporter with the same identifier is replaced in place. |
| AddAt | index As Integer <br> item As GraffitiProEditor.Exporter | (None) | Inserts a exporter at a zero-based position, removing any exporter with the same identifier first. |
| IndexOf | item As GraffitiProEditor.Exporter | Integer | Returns the position of the supplied exporter, or -1 when it is not in the list. |
| Item | identifier As String | GraffitiProEditor.Exporter | Returns the exporter with the supplied identifier, or Nil. |
| ItemAt | index As Integer | GraffitiProEditor.Exporter | Returns the exporter at a zero-based position, or Nil when the position is out of range. |
| Items | (None) | GraffitiProEditor.Exporter | Returns a copy of the list of exporters, in order. |
| LastIndex | (None) | Integer | Returns the position of the last exporter, or -1 when the list is empty. |
| Remove | item As GraffitiProEditor.Exporter | (None) | Removes the supplied exporter, if it is in the list. |
| Remove | identifier As String | (None) | Removes the exporter with the supplied identifier, if there is one. |
| RemoveAll | (None) | (None) | Removes every exporter. |
| RemoveAt | index As Integer | (None) | Removes the exporter at a zero-based position. A position out of range does nothing. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Owner | GraffitiProEditor.Editor | (None) | Returns the editor this list belongs to. |