mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-13 05:45:31 +00:00
[PR #866] [MERGED] Improve Alert parsing perf #1260
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?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/866
Author: @MihaZupan
Created: 4/14/2025
Status: ✅ Merged
Merged: 4/15/2025
Merged by: @xoofx
Base:
master← Head:alert-perf📝 Commits (2)
0d6343bMake AlertBlock parsing a bit cheaperbbefce3Sealed + ref struct📊 Changes
5 files changed (+27 additions, -20 deletions)
View changed files
📝
src/Markdig/Extensions/Alerts/AlertBlock.cs(+1 -1)📝
src/Markdig/Extensions/Alerts/AlertInlineParser.cs(+23 -16)📝
src/Markdig/MarkdownPipeline.cs(+1 -1)📝
src/Markdig/Syntax/MarkdownObject.cs(+1 -1)📝
src/Markdig/Syntax/QuoteBlock.cs(+1 -1)📄 Description
!first since that's likely to fail to lower the overhead on text with lots of regular links.$"markdown-alert-{alertType.ToString().ToLowerInvariant()}"🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.