ParagraphBlock Class

Represents a paragraph.

public class ParagraphBlock : LeafBlock

Remarks

Related to CommonMark spec: 4.8 Paragraphs

Inheritance
LeafBlock ParagraphBlock

Constructors

NameDescription
ParagraphBlock()Initializes a new instance of the ParagraphBlock class.
ParagraphBlock(BlockParser?)Initializes a new instance of the ParagraphBlock class.

ParagraphBlock overloads

ParagraphBlock()

ParagraphBlock.cs

Initializes a new instance of the ParagraphBlock class.

public ParagraphBlock()

ParagraphBlock(BlockParser?)

ParagraphBlock.cs

Initializes a new instance of the ParagraphBlock class.

public ParagraphBlock(BlockParser? parser)
Parameters
parser BlockParser?
The parser used to create this block.

Properties

NameDescription
LastLineGets or sets the last line.

Gets or sets the last line.

public int LastLine { get; }

Property value

int