mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #429] [MERGED] Added StringSlice.CountAndSkipChar(char) #1022
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/429
Author: @KrisVandermotten
Created: 4/26/2020
Status: ✅ Merged
Merged: 4/27/2020
Merged by: @xoofx
Base:
master← Head:StringSliceCountAndSkipChar📝 Commits (1)
d968623Added 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.