Interface IMarkdownRewriteEngine
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public interface IMarkdownRewriteEngine
Properties
Engine
Declaration
IMarkdownEngine Engine { get; }
Property Value
Methods
Complete()
Declaration
GetParents()
Declaration
ImmutableArray<IMarkdownToken> GetParents()
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
|
GetVariable(String)
Declaration
object GetVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
HasPostProcess(String)
Declaration
bool HasPostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
HasVariable(String)
Declaration
bool HasVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Initialize()
Declaration
RemovePostProcess(String)
Declaration
void RemovePostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
RemoveVariable(String)
Declaration
void RemoveVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Rewrite(ImmutableArray<IMarkdownToken>)
Declaration
ImmutableArray<IMarkdownToken> Rewrite(ImmutableArray<IMarkdownToken> tokens)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
tokens |
Source markdown tokens.
|
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
Rewritten markdown tokens.
|
SetPostProcess(String, Action<IMarkdownRewriteEngine>)
Declaration
void SetPostProcess(string name, Action<IMarkdownRewriteEngine> action)
Parameters
SetVariable(String, Object)
Declaration
void SetVariable(string name, object value)
Parameters
Extension Methods