Class MarkdownParser
Inheritance
MarkdownParser
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public class MarkdownParser : IMarkdownParser
Constructors
MarkdownParser(IMarkdownContext, Options, Dictionary<String, LinkObj>)
Declaration
public MarkdownParser(IMarkdownContext context, Options options, Dictionary<string, LinkObj> links)
Parameters
Properties
Context
Declaration
public IMarkdownContext Context { get; }
Property Value
Implements
Links
Declaration
public Dictionary<string, LinkObj> Links { get; }
Property Value
Implements
Options
Declaration
public Options Options { get; }
Property Value
Implements
Methods
Preprocess(String)
Declaration
protected virtual string Preprocess(string src)
Parameters
Type |
Name |
Description |
String |
src |
|
Returns
SwitchContext(IMarkdownContext)
Declaration
public IMarkdownContext SwitchContext(IMarkdownContext context)
Parameters
Returns
Implements
Tokenize(SourceInfo)
Declaration
public ImmutableArray<IMarkdownToken> Tokenize(SourceInfo sourceInfo)
Parameters
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
|
Implements
Extension Methods