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

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