MarkdownExtensionInlineSyntax Class
A construct of a MarkdownInlineExtension or of a MarkdownDelimiterExtension: markers, text and inlines, in the order of the text.
public sealed class MarkdownExtensionInlineSyntax : MarkdownInlineSyntaxRemarks
MarkdownHtmlRenderer writes the text, escaped, and the inlines, without the markers. A MarkdownHtmlNodeRenderer writes other HTML, such as a link for a mention.
- Inheritance
MarkdownInlineSyntaxMarkdownExtensionInlineSyntax
Properties
| Name | Description |
|---|---|
| Inlines | Gets the content that the parser read as inlines: the children that are not markers. |
| Markers | Gets the markers, such as the @ of a mention or the runs of a delimiter extension, in the order of the text. |
| Name | Gets the name of the extension that read the construct, which the first token of the construct has. |
| Text | Gets the text of the construct: its text tokens, and its line endings between them. |
| Texts | Gets the text tokens, in the order of the text. A text on several lines has a token for each line. |
Gets the content that the parser read as inlines: the children that are not markers.
public IEnumerable<SyntaxNodeOrToken> Inlines { get; }Property value
Gets the markers, such as the @ of a mention or the runs of a delimiter extension, in the order of the text.
public ImmutableArray<SyntaxToken> Markers { get; }Property value
Gets the text tokens, in the order of the text. A text on several lines has a token for each line.
public ImmutableArray<SyntaxToken> Texts { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(MarkdownSyntaxVisitor) | |
| Accept<TResult>(MarkdownSyntaxVisitor<TResult>) |
Accept overloads
Accept(MarkdownSyntaxVisitor)
MarkdownExtensionInlineSyntax.cspublic override void Accept(MarkdownSyntaxVisitor visitor)Parameters
visitorMarkdownSyntaxVisitor
No documentation is available.
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
MarkdownExtensionInlineSyntax.cspublic override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)No documentation is available.