[PR #429] [MERGED] Added StringSlice.CountAndSkipChar(char) #1022

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/429
Author: @KrisVandermotten
Created: 4/26/2020
Status: Merged
Merged: 4/27/2020
Merged by: @xoofx

Base: masterHead: StringSliceCountAndSkipChar


📝 Commits (1)

  • d968623 Added StringSlice.CountAndSkipChar(char)

📊 Changes

9 files changed (+61 additions, -119 deletions)

View changed files

📝 src/Markdig/Extensions/Figures/FigureBlockParser.cs (+13 -28)
📝 src/Markdig/Extensions/Mathematics/MathInlineParser.cs (+4 -7)
📝 src/Markdig/Extensions/Tables/TableHelper.cs (+2 -9)
📝 src/Markdig/Extensions/Yaml/YamlFrontMatterParser.cs (+4 -12)
📝 src/Markdig/Helpers/StringSlice.cs (+18 -1)
📝 src/Markdig/Parsers/FencedBlockParserBase.cs (+7 -30)
📝 src/Markdig/Parsers/Inlines/CodeInlineParser.cs (+4 -14)
📝 src/Markdig/Parsers/Inlines/EmphasisInlineParser.cs (+3 -8)
📝 src/Markdig/Parsers/ParagraphBlockParser.cs (+6 -10)

📄 Description

This PR is mostly about extracting common logic into a reusable method.

Obviously, care was taken to implement the new method as efficient as possible.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/429 **Author:** [@KrisVandermotten](https://github.com/KrisVandermotten) **Created:** 4/26/2020 **Status:** ✅ Merged **Merged:** 4/27/2020 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `StringSliceCountAndSkipChar` --- ### 📝 Commits (1) - [`d968623`](https://github.com/xoofx/markdig/commit/d96862378dca6ceba39d4a362bc4a4276b770d0b) Added StringSlice.CountAndSkipChar(char) ### 📊 Changes **9 files changed** (+61 additions, -119 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig/Extensions/Figures/FigureBlockParser.cs` (+13 -28) 📝 `src/Markdig/Extensions/Mathematics/MathInlineParser.cs` (+4 -7) 📝 `src/Markdig/Extensions/Tables/TableHelper.cs` (+2 -9) 📝 `src/Markdig/Extensions/Yaml/YamlFrontMatterParser.cs` (+4 -12) 📝 `src/Markdig/Helpers/StringSlice.cs` (+18 -1) 📝 `src/Markdig/Parsers/FencedBlockParserBase.cs` (+7 -30) 📝 `src/Markdig/Parsers/Inlines/CodeInlineParser.cs` (+4 -14) 📝 `src/Markdig/Parsers/Inlines/EmphasisInlineParser.cs` (+3 -8) 📝 `src/Markdig/Parsers/ParagraphBlockParser.cs` (+6 -10) </details> ### 📄 Description This PR is mostly about extracting common logic into a reusable method. Obviously, care was taken to implement the new method as efficient as possible. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:48:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1022