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