MarkdownAutolinkOptions Class

How MarkdownExtensions.MarkdigAutolinks reads the URLs of the text, as the options of the autolinks of Markdig.

public sealed class MarkdownAutolinkOptions : IEquatable<MarkdownAutolinkOptions>
Implements

Constructors

NameDescription
MarkdownAutolinkOptions()

MarkdownAutolinkOptions()

MarkdownAutolinkOptions.cs
public MarkdownAutolinkOptions()

No documentation is available.

Properties

NameDescription
AllowDomainWithoutPeriodGets a value indicating whether a domain can have no period, such as http://localhost.
DefaultGets the options of Markdig.
OpenInNewWindowGets a value indicating whether the links have target="_blank".
UseHttpsForWwwLinksGets a value indicating whether the links of www. addresses use https:// instead of http://.
ValidPreviousCharactersGets the characters, besides whitespace, that can be before a URL: *_~( by default.

AllowDomainWithoutPeriod

MarkdownAutolinkOptions.cs

Gets a value indicating whether a domain can have no period, such as http://localhost.

public bool AllowDomainWithoutPeriod { get; init; }

Property value

bool

Gets the options of Markdig.

public static MarkdownAutolinkOptions Default { get; }

Gets a value indicating whether the links have target="_blank".

public bool OpenInNewWindow { get; init; }

Property value

bool

ValidPreviousCharacters

MarkdownAutolinkOptions.cs

Gets the characters, besides whitespace, that can be before a URL: *_~( by default.

public string ValidPreviousCharacters { get; init; }

Property value

string

Methods

NameDescription
Equals(MarkdownAutolinkOptions?)
Equals(object?)
GetHashCode()
ToString()

Equals overloads

Equals(MarkdownAutolinkOptions?)

public bool Equals(MarkdownAutolinkOptions? other)
Parameters
other MarkdownAutolinkOptions?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(MarkdownAutolinkOptions?, MarkdownAutolinkOptions?)
operator !=(MarkdownAutolinkOptions?, MarkdownAutolinkOptions?)

operator ==(MarkdownAutolinkOptions?, MarkdownAutolinkOptions?)

public static bool operator ==(MarkdownAutolinkOptions? left, MarkdownAutolinkOptions? right)

No documentation is available.

operator !=(MarkdownAutolinkOptions?, MarkdownAutolinkOptions?)

public static bool operator !=(MarkdownAutolinkOptions? left, MarkdownAutolinkOptions? right)

No documentation is available.