Interface IMarkdownToHtmlConverter
Defines a service that converts Markdown-formatted text to HTML.
Namespace: Umbraco.Cms.Core.Strings
Assembly: Umbraco.Core.dll
Syntax
public interface IMarkdownToHtmlConverter
Methods
View SourceToHtml(string)
Converts the specified Markdown-formatted text to an HTML-encoded string.
Declaration
string ToHtml(string markdown)
Parameters
| Type | Name | Description |
|---|---|---|
| string | markdown | The input string containing Markdown syntax to be converted. |
Returns
| Type | Description |
|---|---|
| string | A string containing the HTML representation of the input Markdown. |