C# Class CommonMarkSharp.CommonMark

显示文件 Open project: MortenHoustonLudvigsen/CommonMarkSharp Class Usage Examples

Public Methods

Method Description
CommonMark ( ) : CommonMarkSharp.Blocks
Init ( ) : void
Parse ( TextReader reader ) : Document
Parse ( string commonMark ) : Document
RenderAsHtml ( Document document ) : string
RenderAsHtml ( TextReader reader ) : string
RenderAsHtml ( string commonMark ) : string
RenderAsHtml ( Document document, TextWriter writer ) : void
RenderAsHtml ( TextReader reader, TextWriter writer ) : void
RenderAsHtml ( string commonMark, TextWriter writer ) : void

Method Details

CommonMark() public method

public CommonMark ( ) : CommonMarkSharp.Blocks
return CommonMarkSharp.Blocks

Init() public method

public Init ( ) : void
return void

Parse() public method

public Parse ( TextReader reader ) : Document
reader System.IO.TextReader
return CommonMarkSharp.Blocks.Document

Parse() public method

public Parse ( string commonMark ) : Document
commonMark string
return CommonMarkSharp.Blocks.Document

RenderAsHtml() public method

public RenderAsHtml ( Document document ) : string
document CommonMarkSharp.Blocks.Document
return string

RenderAsHtml() public method

public RenderAsHtml ( TextReader reader ) : string
reader System.IO.TextReader
return string

RenderAsHtml() public method

public RenderAsHtml ( string commonMark ) : string
commonMark string
return string

RenderAsHtml() public method

public RenderAsHtml ( Document document, TextWriter writer ) : void
document CommonMarkSharp.Blocks.Document
writer System.IO.TextWriter
return void

RenderAsHtml() public method

public RenderAsHtml ( TextReader reader, TextWriter writer ) : void
reader System.IO.TextReader
writer System.IO.TextWriter
return void

RenderAsHtml() public method

public RenderAsHtml ( string commonMark, TextWriter writer ) : void
commonMark string
writer System.IO.TextWriter
return void