# MarkdownText constructor

Kind: Constructor  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.-ctor.html

## MarkdownText() {#TinyComponents_MarkdownText__ctor}

Initializes a new instance of the [MarkdownText](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.md) class with default settings and an empty text.

```csharp
public MarkdownText()
```

## MarkdownText(string) {#TinyComponents_MarkdownText__ctor_System_String_}

Initializes a new instance of the [MarkdownText](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.md) class with the specified Markdown text and default settings.

```csharp
public MarkdownText(string markdownText)
```

### Parameters

`markdownText` [string](https://learn.microsoft.com/dotnet/api/system.string)

The Markdown text to be converted.
