
## text {#str}

Creates TextSyntax


### Returns 


The TextSyntax.


```python
def text(self, text):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str | The string value. |


## text {#aspose.html.toolkit.markdown.syntax.text.SourceText}

Create the TextSyntax from SourceText.


### Returns 


The TextSyntax.


```python
def text(self, source):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.toolkit.markdown.syntax.text.SourceText | The SourceText. |


## text {#aspose.html.toolkit.markdown.syntax.text.SourceText-aspose.html.toolkit.markdown.syntax.text.TextSpan}

Create the TextSyntax from SourceText and TextSpan.


### Returns 


The TextSyntax.


```python
def text(self, source, span):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source | aspose.html.toolkit.markdown.syntax.text.SourceText | The SourceText. |
| span | aspose.html.toolkit.markdown.syntax.text.TextSpan | The TextSpan. |



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