mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-10 05:49:27 +00:00
[PR #213] Add alternative Use extension method to MarkdownPipelineBuilder that receives an object instance
#873
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/xoofx/markdig/pull/213
State: closed
Merged: Yes
This PR adds an overload of the
MarkdownPipelineBuilder.Use<T>method that receives an instance of anIMarkdownExtension, for the cases where the extension has a constructor requiring parameters and cannot be instantiated by the existingUse<T>method.Syntax looks like this: