public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownNonParagraphBlockToken token, MarkdownBlockContext context) { var result = StringBuffer.Empty; foreach (var item in token.Content.Tokens) { result += renderer.Render(item); } return(result); }
public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownNonParagraphBlockToken token, MarkdownBlockContext context) { var childContent = StringBuffer.Empty; foreach (var item in token.Content.Tokens) { childContent += renderer.Render(item); } return(Insert(token, ExposeTokenName(token), childContent)); }
public virtual StringBuffer Render(IMarkdownRenderer render, MarkdownNonParagraphBlockToken token, MarkdownBlockContext context) { StringBuffer content = StringBuffer.Empty; foreach (var t in token.Content.Tokens) { content += render.Render(t); } return(content + "\n"); }
public virtual StringBuffer Render(IMarkdownRenderer renderer, MarkdownNonParagraphBlockToken token, MarkdownBlockContext context) { var childContent = StringBuffer.Empty; foreach (var item in token.Content.Tokens) { childContent += renderer.Render(item); } return(this.Insert("NonParagraph", childContent, Type.NonLeaf)); }