MarkdownAutolinkSyntax Class

An autolink: a URL or an email address between < and >, or, in GitHub Flavored Markdown, in the text.

public sealed class MarkdownAutolinkSyntax : MarkdownInlineSyntax
Inheritance
MarkdownInlineSyntax MarkdownAutolinkSyntax

Properties

NameDescription
DestinationGets the destination: mailto: before an email address that does not start with it, and http:// before a www. address (or https:// for MarkdownAutolinkOptions.UseHttpsForWwwLinks).
IsEmailGets a value indicating whether the link is an email address.
IsExtendedGets a value indicating whether the link is an extended autolink of GitHub Flavored Markdown, which is not between angle brackets.
IsMarkdigAutolinkGets a value indicating whether the link is an autolink of Markdig, read with MarkdownExtensions.MarkdigAutolinks.
TextGets the text of the link, as it is shown.

Gets the destination: mailto: before an email address that does not start with it, and http:// before a www. address (or https:// for MarkdownAutolinkOptions.UseHttpsForWwwLinks).

public string Destination { get; }

Property value

string

Gets a value indicating whether the link is an email address.

public bool IsEmail { get; }

Property value

bool

Gets a value indicating whether the link is an extended autolink of GitHub Flavored Markdown, which is not between angle brackets.

public bool IsExtended { get; }

Property value

bool

Gets the text of the link, as it is shown.

public string Text { get; }

Property value

string

Methods

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

Accept overloads

Accept(MarkdownSyntaxVisitor)

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

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

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

TResult?

No documentation is available.