public string Render(string mdText) { var parser = new Parser(mdText, fieldTypes); var tokens = parser.GetTokens(); var html = TokensToHtml(tokens, mdText); return(DeleteScreeningUnderscores(html)); }
public string Render(string markDownParagraph, Parser parser, Converter converter) { var tokens = parser.GetTokens(markDownParagraph); return(converter.GetHtml(tokens, markDownParagraph)); }