Base class for a block structure. Either a LeafBlock or a ContainerBlock.
public abstract class Block : MarkdownObject, IBlock, IMarkdownObject
kind:method, kind:property, kind:ctor. Press Esc to clear.Block(BlockParser?)Initializes a new instance of the Block class.IsBreakableGets or sets a value indicating whether this block is breakable. Default is true.IsOpenGets or sets a value indicating whether this instance is still open.LinesAfterGets or sets the empty lines occurring after this block. Trivia: only parsed when TrackTrivia is enabled, otherwise null.LinesBeforeGets or sets the empty lines occurring before this block. Trivia: only parsed when TrackTrivia is enabled, otherwise null.NewLineThe last newline of this block. Trivia: only parsed when TrackTrivia is enabledParentGets the parent of this container. May be null.ParserGets the parser associated to this instance.RemoveAfterProcessInlinesGets or sets a value indicating whether this block must be removed from its container after inlines have been processed.TriviaAfterGets or sets trivia occurring after this block. Trivia: only parsed when TrackTrivia is enabled, otherwise Empty.TriviaBeforeGets or sets the trivia right before this block. Trivia: only parsed when TrackTrivia is enabled, otherwise Empty.Remove()Removes this block from its parent container.ReplaceBy(Block, Boolean)Replaces this block with replacement in its parent container.UpdateSpanEnd(Int32)Performs the update span end operation.UpdateSpanToInclude(SourceSpan)Updates this block span and all parent container spans to include the specified span.ProcessInlinesBeginOccurs when the process of inlines begin.ProcessInlinesEndOccurs when the process of inlines ends for this instance.CompareToPosition(Block, Int32)Performs the compare to position operation.ContainsPosition(Block, Int32)Performs the contains position operation.FindBlockAtPosition(Block, Int32)Performs the find block at position operation.FindClosestBlock(Block, Int32)Performs the find closest block operation.