
## save {#str}

Saves the syntax tree to the specified path.



```python
def save(self, path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| path | str | The string path. |


## save {#io.RawIOBase}

Saves the syntax tree to the specified stream.



```python
def save(self, stream):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | The stream. |



### See Also
* module [`aspose.html.toolkit.markdown.syntax`](../../)
* class [`MarkdownSyntaxTree`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree)
