Markdown.

UseExtension<TExtension>(TExtension) Method

Summary

Includes a custom extension in the markdown processing given by a object implementing the IMarkdownExtension interface.
Assembly
Wyam.Markdown.dll
Namespace
Wyam.Markdown
Containing Type
Markdown

Syntax

public Markdown 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 Markdig.IMarkdownExtension.

Return Value

Type Description
Markdown The current module instance.
GitHub