public HeadingNode(string headingText, int headingLevel, SourceExtent sourceExtent, SectionFormatOption formatOption) : base(headingText, sourceExtent) { this.HeadingLevel = headingLevel; this.FormatOption = formatOption; }
private bool ShouldBreak(SectionFormatOption formatOption) { return(formatOption.HasFlag(SectionFormatOption.LineBreakAfterHeader)); }
public SectionBody(string text, SectionFormatOption formatOption) { Text = text; FormatOption = formatOption; }