Skip to content
FutureBlitz

    Install

    Import std.text.markdown

    MarkdownToHtml

    std.text.markdown

    function

    Public Function MarkdownToHtml(text: String, extensions: MarkdownExtensions = Usual): String

    The Markdown as HTML: CommonMark, and the extensions, tables and task lists unless they say others; with None, it's CommonMark alone.

    Examples

    Expect(MarkdownToHtml("# Hi\n\n*there*") == "<h1>Hi</h1>\n<p><em>there</em></p>\n")

    std/text/markdown.fb, line 248

    Report an issue with this page or with FutureBlitz on GitHub.