< Back


MarkdownLink

Namespace: Markdown

Markdown link.

public class MarkdownLink : MarkdownInlineElement

Inheritance ObjectMarkdownTextElementMarkdownInlineElementMarkdownLink

Properties

Url

Gets or sets the link URL.

public string Url { get; set; }

Property Value

String
Link URL.

Text

Gets or sets the text.

public string Text { get; set; }

Property Value

String
The text or a string that represents the markdown inline element.

Constructors

MarkdownLink(String, String)

Initializes a new instance of the MarkdownLink class.

public MarkdownLink(string text, string url)

Parameters

text String
The link text.

url String
The link URL.

MarkdownLink(MarkdownInlineElement, String)

Initializes a new instance of the MarkdownLink class.

public MarkdownLink(MarkdownInlineElement inlineElement, string url)

Parameters

inlineElement MarkdownInlineElement
The link text as markdown inline element.

url String
The link URL.

Methods

ToString()

Returns a string that represents the current markdown link.

public string ToString()

Returns

String
A string that represents the current markdown link.


< Back