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
MarkdownInlineSyntaxMarkdownAutolinkSyntax
Properties
| Name | Description |
|---|---|
| Destination | 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). |
| IsEmail | Gets a value indicating whether the link is an email address. |
| IsExtended | Gets a value indicating whether the link is an extended autolink of GitHub Flavored Markdown, which is not between angle brackets. |
| IsMarkdigAutolink | Gets a value indicating whether the link is an autolink of Markdig, read with MarkdownExtensions.MarkdigAutolinks. |
| Text | Gets the text of the link, as it is shown. |
Destination
MarkdownAutolinkSyntax.csGets 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
IsEmail
MarkdownAutolinkSyntax.csIsExtended
MarkdownAutolinkSyntax.csIsMarkdigAutolink
MarkdownAutolinkSyntax.csGets a value indicating whether the link is an autolink of Markdig, read with MarkdownExtensions.MarkdigAutolinks.
public bool IsMarkdigAutolink { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(MarkdownSyntaxVisitor) | |
| Accept<TResult>(MarkdownSyntaxVisitor<TResult>) |
Accept overloads
Accept(MarkdownSyntaxVisitor)
MarkdownAutolinkSyntax.cspublic override void Accept(MarkdownSyntaxVisitor visitor)Parameters
visitorMarkdownSyntaxVisitor
No documentation is available.
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
MarkdownAutolinkSyntax.cspublic override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)No documentation is available.