Class MarkdownEngine
Inheritance
MarkdownEngine
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public class MarkdownEngine : IMarkdownEngine
Constructors
MarkdownEngine(IMarkdownContext, IMarkdownTokenRewriter, Object, Options)
Declaration
public MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options)
Parameters
MarkdownEngine(IMarkdownContext, IMarkdownTokenRewriter, Object, Options, Dictionary<String, LinkObj>)
Declaration
protected MarkdownEngine(IMarkdownContext context, IMarkdownTokenRewriter rewriter, object renderer, Options options, Dictionary<string, LinkObj> links)
Parameters
MarkdownEngine(IMarkdownContext, Object, Options)
Declaration
public MarkdownEngine(IMarkdownContext context, object renderer, Options options)
Parameters
Properties
Context
Declaration
public IMarkdownContext Context { get; }
Property Value
Links
Declaration
public Dictionary<string, LinkObj> Links { get; }
Property Value
Declaration
public int MaxExtractCount { get; set; }
Property Value
Options
Declaration
public Options Options { get; }
Property Value
Parser
Declaration
public virtual IMarkdownParser Parser { get; }
Property Value
Implements
Renderer
Declaration
public virtual IMarkdownRenderer Renderer { get; }
Property Value
Implements
RendererImpl
Declaration
public object RendererImpl { get; }
Property Value
RewriteEngine
Declaration
public virtual IMarkdownRewriteEngine RewriteEngine { get; }
Property Value
Implements
Rewriter
Declaration
public IMarkdownTokenRewriter Rewriter { get; }
Property Value
TokenTreeValidator
Declaration
public IMarkdownTokenTreeValidator TokenTreeValidator { get; set; }
Property Value
Implements
Methods
Mark(SourceInfo, IMarkdownContext)
Declaration
public StringBuffer Mark(SourceInfo sourceInfo, IMarkdownContext context)
Parameters
Returns
Implements
Markup(String, String)
Declaration
public virtual string Markup(string markdown, string file)
Parameters
Returns
Implements
Normalize(String)
Declaration
public static string Normalize(string markdown)
Parameters
Type |
Name |
Description |
String |
markdown |
|
Returns
Preprocess(String)
Declaration
protected virtual string Preprocess(string src)
Parameters
Type |
Name |
Description |
String |
src |
|
Returns
Extension Methods