ThematicBreakBlock Class

Represents a thematic break (Section 4.1 CommonMark specs).

public class ThematicBreakBlock : LeafBlock
Inheritance
LeafBlock ThematicBreakBlock

Constructors

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

ThematicBreakBlock(BlockParser)

ThematicBreakBlock.cs

Initializes a new instance of the ThematicBreakBlock class.

public ThematicBreakBlock(BlockParser parser)

Parameters

parser BlockParser
The parser used to create this block.

Properties

NameDescription
ThematicCharGets or sets the thematic char.
ThematicCharCountGets or sets the thematic char count.

Gets or sets the thematic char.

public char ThematicChar { get; set; }

Property value

char

ThematicCharCount

ThematicBreakBlock.cs

Gets or sets the thematic char count.

public int ThematicCharCount { get; set; }

Property value

int

Fields

NameDescription
ContentGets or sets the content.

Content

Gets or sets the content.

public StringSlice Content