C# Class UniversalMarkdown.Parse.MarkdownDocument

A class used to represent abstract markdown.
Inheritance: MarkdownBlock
Mostrar archivo Open project: QuinnDamerell/UniversalMarkdown Class Usage Examples

Public Methods

Method Description
LookUpReference ( string id ) : LinkReferenceBlock

Looks up a reference using the ID. A reference is a line that looks like this: [foo]: http://example.com/

MarkdownDocument ( ) : System

Initializes a new markdown document.

Parse ( string markdownText ) : void

Parses markdown document text.

ToString ( ) : string

Converts the object into it's textual representation.

Private Methods

Method Description
Parse ( string markdown, int start, int end, int quoteDepth, int &actualEnd ) : List

Parses a markdown document.

Method Details

LookUpReference() public method

Looks up a reference using the ID. A reference is a line that looks like this: [foo]: http://example.com/
public LookUpReference ( string id ) : LinkReferenceBlock
id string The ID of the reference (case insensitive).
return UniversalMarkdown.Parse.Elements.LinkReferenceBlock

MarkdownDocument() public method

Initializes a new markdown document.
public MarkdownDocument ( ) : System
return System

Parse() public method

Parses markdown document text.
public Parse ( string markdownText ) : void
markdownText string The markdown text.
return void

ToString() public method

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