public MarkdownParagraph AppendLine(MarkdownText text)
 {
     return(AppendText(text).AppendText("\n\n"));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MarkdownHeader"/> class.
 /// </summary>
 /// <param name="title">The title.</param>
 /// <param name="level">The level.</param>
 /// <param name="underline">Whether or not the header should be underlined.</param>
 public MarkdownHeader(string title, int level, bool underline = false)
 {
     this.Title     = new MarkdownText(title);
     this.Level     = level;
     this.Underline = underline;
 }
 public MarkdownParagraph AppendText(MarkdownText text)
 {
     this.Components.Add(text);
     return(this);
 }