Inheritance: IMarkdownToken, IDfmBlockSpecialSplitToken
Beispiel #1
0
 public virtual StringBuffer Render(IMarkdownRenderer render, DfmSectionBlockToken token, MarkdownBlockContext context)
 {
     return(string.IsNullOrEmpty(token.Attributes)
             ? "[!div]\n"
             : $"[!div {token.Attributes}]\n");
 }
Beispiel #2
0
 public virtual StringBuffer Render(IMarkdownRenderer render, DfmSectionBlockToken token, MarkdownBlockContext context)
 {
     return string.IsNullOrEmpty(token.Attributes)
             ? "[!div]\n"
             : $"[!div {token.Attributes}]\n";
 }