## Save(*string*) {#save_2}

Saves the syntax tree to the specified path.

```csharp
public void Save(string path)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | String | The string path. |

### See Also

* class [MarkdownSyntaxTree](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)

---

## Save(*TextWriter*) {#save_1}

Saves the syntax tree to the specified writer.

```csharp
public void Save(TextWriter writer)
```

| Parameter | Type | Description |
| --- | --- | --- |
| writer | TextWriter | The TextWriter. |

### See Also

* class [MarkdownSyntaxTree](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)

---

## Save(*Stream*) {#save}

Saves the syntax tree to the specified stream.

```csharp
public void Save(Stream stream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream. |

### See Also

* class [MarkdownSyntaxTree](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)
