C# Class Microsoft.DocAsCode.MarkdownLite.MarkdownEngine

Inheritance: ICloneable
ファイルを表示 Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Mark ( SourceInfo sourceInfo, IMarkdownContext context ) : StringBuffer
MarkdownEngine ( IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options ) : System.Collections.Generic
MarkdownEngine ( IMarkdownContext context, object renderer, Options options ) : System.Collections.Generic
Markup ( string markdown, string file ) : string
Normalize ( string markdown ) : string

Protected Methods

Method Description
MarkdownEngine ( IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options, LinkObj>.Dictionary links ) : System.Collections.Generic
Preprocess ( string src ) : string

Private Methods

Method Description
RewriteTokens ( ImmutableArray tokens, string file, IMarkdownRewriteEngine rewriteEngine ) : ImmutableArray

Method Details

Mark() public method

public Mark ( SourceInfo sourceInfo, IMarkdownContext context ) : StringBuffer
sourceInfo SourceInfo
context IMarkdownContext
return StringBuffer

MarkdownEngine() public method

public MarkdownEngine ( IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options ) : System.Collections.Generic
context IMarkdownContext
rewriter IMarkdownTokenRewriter
renderer object
options Options
return System.Collections.Generic

MarkdownEngine() protected method

protected MarkdownEngine ( IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options, LinkObj>.Dictionary links ) : System.Collections.Generic
context IMarkdownContext
rewriter IMarkdownTokenRewriter
renderer object
options Options
links LinkObj>.Dictionary
return System.Collections.Generic

MarkdownEngine() public method

public MarkdownEngine ( IMarkdownContext context, object renderer, Options options ) : System.Collections.Generic
context IMarkdownContext
renderer object
options Options
return System.Collections.Generic

Markup() public method

public Markup ( string markdown, string file ) : string
markdown string
file string
return string

Normalize() public static method

public static Normalize ( string markdown ) : string
markdown string
return string

Preprocess() protected method

protected Preprocess ( string src ) : string
src string
return string