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 : MarkdownInlineSyntax

Remarks

MarkdownHtmlRenderer writes the text, escaped, and the inlines, without the markers. A MarkdownHtmlNodeRenderer writes other HTML, such as a link for a mention.

Inheritance
MarkdownInlineSyntax MarkdownExtensionInlineSyntax

Properties

NameDescription
InlinesGets the content that the parser read as inlines: the children that are not markers.
MarkersGets the markers, such as the @ of a mention or the runs of a delimiter extension, in the order of the text.
NameGets the name of the extension that read the construct, which the first token of the construct has.
TextGets the text of the construct: its text tokens, and its line endings between them.
TextsGets 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; }

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; }

Gets the name of the extension that read the construct, which the first token of the construct has.

public string Name { get; }

Property value

string

Gets the text of the construct: its text tokens, and its line endings between them.

public string Text { get; }

Property value

string

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; }

Methods

NameDescription
Accept(MarkdownSyntaxVisitor)
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

Accept overloads

Accept(MarkdownSyntaxVisitor)

MarkdownExtensionInlineSyntax.cs
public override void Accept(MarkdownSyntaxVisitor visitor)
Parameters
visitor MarkdownSyntaxVisitor

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

MarkdownExtensionInlineSyntax.cs
public override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor MarkdownSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.