示例#1
0
        public string Render(string mdText)
        {
            var parser = new Parser(mdText, fieldTypes);
            var tokens = parser.GetTokens();
            var html   = TokensToHtml(tokens, mdText);

            return(DeleteScreeningUnderscores(html));
        }
示例#2
0
        public string Render(string markDownParagraph, Parser parser, Converter converter)
        {
            var tokens = parser.GetTokens(markDownParagraph);

            return(converter.GetHtml(tokens, markDownParagraph));
        }