Interface IMarkdownTokenRewriter
rewrite the markdown when rendering
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public interface IMarkdownTokenRewriter
Methods
Rewrite(IMarkdownRewriteEngine, IMarkdownToken)
rewrite
Declaration
IMarkdownToken Rewrite(IMarkdownRewriteEngine engine, IMarkdownToken token)
Parameters
Type | Name | Description |
---|---|---|
IMarkdownRewriteEngine | engine | the engine |
IMarkdownToken | token | the token |
Returns
Type | Description |
---|---|
IMarkdownToken | If need rewrite, return the new token, otherwise, null |