public MarkdownList( IHtmlable[] content, MarkdownElementType type ) { this.content = content; Type = type; }
public MarkdownText( string content ) { Type = MarkdownElementType.Text; this.content = ReplaceEscapeCharacters( content ); }
public static string Tag( this MarkdownElementType type ) { string tag = tags[ type ]; if (tag != null) { return(tag); } else { return(""); } }