LinkDelimiterInline Class

A delimiter for a link.

public class LinkDelimiterInline : DelimiterInline
Inheritance
DelimiterInline LinkDelimiterInline

Constructors

NameDescription
LinkDelimiterInline(InlineParser)Initializes a new instance of the LinkDelimiterInline class.

LinkDelimiterInline(InlineParser)

LinkDelimiterInline.cs

Initializes a new instance of the LinkDelimiterInline class.

public LinkDelimiterInline(InlineParser parser)

Parameters

parser InlineParser

Properties

NameDescription
IsImageGets or sets a value indicating whether this delimiter is an image link.
LabelGets or sets the label of this link.
LabelWithTriviaGets or sets the LinkDelimiterInline.Label with trivia. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.

Gets or sets a value indicating whether this delimiter is an image link.

public bool IsImage { get; set; }

Property value

bool

Gets or sets the label of this link.

public string? Label { get; set; }

Property value

string?

LabelWithTrivia

LinkDelimiterInline.cs

Gets or sets the LinkDelimiterInline.Label with trivia. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.

public StringSlice LabelWithTrivia { get; set; }

Property value

StringSlice

Methods

NameDescription
ToLiteral()Performs the to literal operation.

Performs the to literal operation.

public override string ToLiteral()

Returns

string

Fields

NameDescription
LabelSpanThe label span

LabelSpan

The label span

public SourceSpan LabelSpan