MarkdownDocument Class

The root Markdown document.

public class MarkdownDocument : ContainerBlock
Inheritance
ContainerBlock MarkdownDocument

Constructors

NameDescription
MarkdownDocument()Initializes a new instance of the MarkdownDocument class.

MarkdownDocument()

MarkdownDocument.cs

Initializes a new instance of the MarkdownDocument class.

public MarkdownDocument()

Properties

NameDescription
LineStartIndexesGets a list of zero-based indexes of line beginnings in the source span Available if MarkdownPipelineBuilder.PreciseSourceLocation is used, otherwise null

LineStartIndexes

MarkdownDocument.cs

Gets a list of zero-based indexes of line beginnings in the source span

Available if MarkdownPipelineBuilder.PreciseSourceLocation is used, otherwise null

public List<int>? LineStartIndexes { get; set; }

Property value

List<int>?

Fields

NameDescription
LineCountGets the number of lines in this MarkdownDocument

LineCount

Gets the number of lines in this MarkdownDocument

public int LineCount