Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    ToHtml(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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX