[PR #529] Cache the MarkdownParser & Processors #1098

Open
opened 2026-01-29 14:49:42 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/xoofx/markdig/pull/529

State: closed
Merged: Yes


  • MarkdownParser is made static (had private ctor before)
  • Block/InlineProcessor got a set of Setup/Rent/Reset/Release methods
Markdown.Parse("Hello world!");

Before:
image

After:
image

**Original Pull Request:** https://github.com/xoofx/markdig/pull/529 **State:** closed **Merged:** Yes --- - `MarkdownParser` is made static (had private ctor before) - `Block/InlineProcessor` got a set of Setup/Rent/Reset/Release methods ```c# Markdown.Parse("Hello world!"); ``` Before: ![image](https://user-images.githubusercontent.com/25307628/110969439-fd99ae00-8358-11eb-88c2-e9d44dd04ed5.png) After: ![image](https://user-images.githubusercontent.com/25307628/110969571-1dc96d00-8359-11eb-9899-dd19df1e29b2.png)
claunia added the pull-request label 2026-01-29 14:49:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1098