# MarkdownText

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

Represents a Markdown text with settings for rendering.

```csharp
public sealed class MarkdownText
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[MarkdownText](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Constructors

| Name | Description |
| --- | --- |
| [MarkdownText\(\)](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.-ctor.md#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. |
| [MarkdownText\(string\)](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.-ctor.md#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. |

## Properties

| Name | Description |
| --- | --- |
| [MarkdownSettings](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.MarkdownSettings.md#TinyComponents_MarkdownText_MarkdownSettings) | Gets or sets the Markdown settings used for conversion. |
| [Text](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.Text.md#TinyComponents_MarkdownText_Text) | Gets or sets the Markdown text to be converted. |

## Methods

| Name | Description |
| --- | --- |
| [ToString\(\)](https://docs.sisk-framework.org/api/TinyComponents.MarkdownText.ToString.md#TinyComponents_MarkdownText_ToString) | Converts the Markdown text to HTML using the specified settings. |
