AlertInlineParser Class
An inline parser for an alert inline (e.g. `[!NOTE]`).
public class AlertInlineParser : InlineParserSee also
- Inheritance
InlineParserAlertInlineParser
Constructors
| Name | Description |
|---|---|
| AlertInlineParser() | Initializes a new instance of the AlertInlineParser class. |
AlertInlineParser()
AlertInlineParser.csInitializes a new instance of the AlertInlineParser class.
public AlertInlineParser()Properties
| Name | Description |
|---|---|
| AllowNestedAlerts | Gets or sets a value indicating whether alerts can be nested inside other blocks (e.g. inside a blockquote or a list item). Alerts are never allowed inside another alert block regardless of this setting. Default is false. |
AllowNestedAlerts
AlertInlineParser.csMethods
| Name | Description |
|---|---|
| Match(InlineProcessor, StringSlice) | Attempts to match the parser at the current position. |
Match(InlineProcessor, StringSlice)
AlertInlineParser.csAttempts to match the parser at the current position.
public override bool Match(InlineProcessor processor, ref StringSlice slice)