Includes a custom extension in the markdown processing given by a object implementing
the IMarkdownExtension interface.
- Namespace
- Statiq
.Markdown - Containing Type
- RenderMarkdown
Syntax
public RenderMarkdown UseExtension<TExtension>(TExtension extension)
where TExtension : IMarkdownExtension
Type Parameters
| Name | Description |
|---|---|
| TExtension | The type of the extension to use. |
Parameters
| Name | Type | Description |
|---|---|---|
| extension | TExtension | A object that that implement IMarkdownExtension. |
Return Value
| Type | Description |
|---|---|
| RenderMarkdown | The current module instance. |