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