AlertBlock Class

A class is used to represent an alert block in Markdown

Definition

Namespace: Sandcastle.Core.Markdown.Parsers
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
public class AlertBlock : QuoteBlock
Inheritance
Object    MarkdownObject    Block    ContainerBlock    QuoteBlock    AlertBlock

Constructors

AlertBlock Constructor

Properties

Column Gets or sets the text column this instance was declared (zero-based).
(Inherited from MarkdownObject)
Count
(Inherited from ContainerBlock)
IsBreakable Gets or sets a value indicating whether this block is breakable. Default is true.
(Inherited from Block)
IsOpen Gets or sets a value indicating whether this instance is still open.
(Inherited from Block)
IsReadOnly
(Inherited from ContainerBlock)
Item
(Inherited from ContainerBlock)
Kind Gets or sets the kind of the alert block (e.g NOTE, TIP, IMPORTANT, WARNING, CAUTION).
LastChild Gets the last child.
(Inherited from ContainerBlock)
Line Gets or sets the text line this instance was declared (zero-based).
(Inherited from MarkdownObject)
LinesAfter Gets or sets the empty lines occurring after this block. Trivia: only parsed when TrackTrivia is enabled, otherwise null.
(Inherited from Block)
LinesBefore Gets or sets the empty lines occurring before this block. Trivia: only parsed when TrackTrivia is enabled, otherwise null.
(Inherited from Block)
NewLine The last newline of this block. Trivia: only parsed when TrackTrivia is enabled
(Inherited from Block)
Parent Gets the parent of this container. May be null.
(Inherited from Block)
Parser Gets the parser associated to this instance.
(Inherited from Block)
QuoteChar Gets or sets the quote character (usually `>`)
(Inherited from QuoteBlock)
QuoteLines Gets or sets the trivia per line of this QuoteBlock. Trivia: only parsed when TrackTrivia is enabled, otherwise null.
(Inherited from QuoteBlock)
RemoveAfterProcessInlines Gets or sets a value indicating whether this block must be removed from its container after inlines have been processed.
(Inherited from Block)
TriviaAfter Gets or sets trivia occurring after this block. Trivia: only parsed when TrackTrivia is enabled, otherwise Empty.
(Inherited from Block)
TriviaBefore Gets or sets the trivia right before this block. Trivia: only parsed when TrackTrivia is enabled, otherwise Empty.
(Inherited from Block)

Methods

Add
(Inherited from ContainerBlock)
Clear
(Inherited from ContainerBlock)
Contains
(Inherited from ContainerBlock)
ContainsData Determines whether this instance contains the specified key data.
(Inherited from MarkdownObject)
CopyTo
(Inherited from ContainerBlock)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetData Gets the associated data for the specified key.
(Inherited from MarkdownObject)
GetEnumerator Specialize enumerator.
(Inherited from ContainerBlock)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf
(Inherited from ContainerBlock)
Insert
(Inherited from ContainerBlock)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Remove
(Inherited from ContainerBlock)
RemoveAt
(Inherited from ContainerBlock)
RemoveData Removes the associated data for the specified key.
(Inherited from MarkdownObject)
SetData Stores a key/value pair for this instance.
(Inherited from MarkdownObject)
Sort(ComparisonBlock)
(Inherited from ContainerBlock)
Sort(IComparerBlock)
(Inherited from ContainerBlock)
ToPositionText Gets a string of the location in the text.
(Inherited from MarkdownObject)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateSpanEnd
(Inherited from Block)

Events

ProcessInlinesBegin Occurs when the process of inlines begin.
(Inherited from Block)
ProcessInlinesEnd Occurs when the process of inlines ends for this instance.
(Inherited from Block)

Fields

Span The source span
(Inherited from MarkdownObject)

See Also