perf: Use cached MarkdownPipeline instance by filzrev · Pull Request #10568 · dotnet/docfx
This PR intended to reduce overhead of MarkdownPipeline instance creation.
Background
MarkdownPipeline is ensured to be thread-safe after created. (See: https://github.com/xoofx/markdig/issues/328)
And as far as I've confirmed. docfx's markdig extensions don't have non thread-safe internal state.
So it can be reused after created.