static string FormatParagraph(Paragraph paragraph)
 {
     var content = string.Join("", paragraph.Elements.Select(FormatElement));
     return $"<p>\n    {content}\n</p>";
 }
 protected bool Equals(Paragraph other)
 {
     return Elements.SequenceEqual(other.Elements);
 }