## Text(*string*) {#text_2}

Creates TextSyntax

```csharp
public TextSyntaxNode Text(string text)
```

| Parameter | Type | Description |
| --- | --- | --- |
| text | String | The string value. |

### Return Value

The TextSyntax.

### See Also

* class [TextSyntaxNode](../../textsyntaxnode/)
* class [MarkdownSyntaxFactory](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)

---

## Text(*[SourceText](../../../aspose.html.toolkit.markdown.syntax.text/sourcetext/)*) {#text}

Create the TextSyntax from SourceText.

```csharp
public TextSyntaxNode Text(SourceText source)
```

| Parameter | Type | Description |
| --- | --- | --- |
| source | SourceText | The SourceText. |

### Return Value

The TextSyntax.

### See Also

* class [TextSyntaxNode](../../textsyntaxnode/)
* class [SourceText](../../../aspose.html.toolkit.markdown.syntax.text/sourcetext/)
* class [MarkdownSyntaxFactory](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)

---

## Text(*[SourceText](../../../aspose.html.toolkit.markdown.syntax.text/sourcetext/), [TextSpan](../../../aspose.html.toolkit.markdown.syntax.text/textspan/)*) {#text_1}

Create the TextSyntax from SourceText and TextSpan.

```csharp
public TextSyntaxNode Text(SourceText source, TextSpan span)
```

| Parameter | Type | Description |
| --- | --- | --- |
| source | SourceText | The SourceText. |
| span | TextSpan | The TextSpan. |

### Return Value

The TextSyntax.

### See Also

* class [TextSyntaxNode](../../textsyntaxnode/)
* class [SourceText](../../../aspose.html.toolkit.markdown.syntax.text/sourcetext/)
* struct [TextSpan](../../../aspose.html.toolkit.markdown.syntax.text/textspan/)
* class [MarkdownSyntaxFactory](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)
