public MarkdownList(
     IHtmlable[] content,
     MarkdownElementType type
     )
 {
     this.content = content;
     Type         = type;
 }
Exemple #2
0
 public MarkdownText(
     string content
     )
 {
     Type         = MarkdownElementType.Text;
     this.content = ReplaceEscapeCharacters(
         content
         );
 }
Exemple #3
0
        public static string Tag(
            this MarkdownElementType type
            )
        {
            string tag = tags[
                type
                         ];

            if (tag != null)
            {
                return(tag);
            }
            else
            {
                return("");
            }
        }