C# Class UniversalMarkdown.Parse.Elements.MarkdownLinkInline

Inheritance: MarkdownInline
Show file Open project: QuinnDamerell/UniversalMarkdown Class Usage Examples

Public Methods

Method Description
MarkdownLinkInline ( ) : System

Initializes a new markdown link.

ResolveReference ( MarkdownDocument document ) : void

If this is a reference-style link, attempts to converts it to a regular link.

ToString ( ) : string

Converts the object into it's textual representation.

Private Methods

Method Description
AddTripChars ( List tripCharHelpers ) : void

Returns the chars that if found means we might have a match.

IsUrlValid ( string url ) : bool

Checks if the given URL is allowed in a markdown link.

Parse ( string markdown, int start, int maxEnd ) : Common.InlineParseResult

Attempts to parse a markdown link e.g. "[](http://www.reddit.com)".

Method Details

MarkdownLinkInline() public method

Initializes a new markdown link.
public MarkdownLinkInline ( ) : System
return System

ResolveReference() public method

If this is a reference-style link, attempts to converts it to a regular link.
public ResolveReference ( MarkdownDocument document ) : void
document MarkdownDocument The document containing the list of references.
return void

ToString() public method

Converts the object into it's textual representation.
public ToString ( ) : string
return string