Exemplo n.º 1
0
        // Parsers a markdown string to html
        public static HtmlString ParseText(string text)
        {
            IEnumerable <MarkdownParser.MarkdownValue> markdown = MarkdownParser.ParseMarkdown(text);
            string result = MarkdownParser.MarkdownToHTML(markdown);

            return(new HtmlString(result));
        }