Closed frankie567 closed 5 months ago
Latest commit: 597d41be0aaf27fa52dcf316e5074731df2cf3fb
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Done ✨
Currently, if we have consecutive blockquotes, they are rendered as one:
Input
Output
This is not compliant with the GFM spec which states that we should create consecutive blocks if there is a blank line between them
This PR solves that by tweaking the
BLOCKQUOTE_R
regex and adding relevant tests. Basically, we use a lookahead to match everything until we hit at least two\n
.