示例#1
0
文件: Md.cs 项目: Klim0o0/clean-code
        private static string RenderParagraph(string paragraph)
        {
            var tags = Tags.BuildTags(paragraph);

            return(MarkdownToHtmlConverter.Convert(paragraph, tags.PairTags, tags.SingleTags));
        }
示例#2
0
文件: Md.cs 项目: Arteeck/clean-code
 private static string RenderParagraph(string paragraph, IEnumerable <Tag> tags)
 {
     return(MarkdownToHtmlConverter.Convert(paragraph, tags));
 }