fix(stripComments): properly pass in the micromark extensions#1335
Merged
maximilianfalco merged 2 commits intonextfrom Feb 11, 2026
Merged
fix(stripComments): properly pass in the micromark extensions#1335maximilianfalco merged 2 commits intonextfrom
maximilianfalco merged 2 commits intonextfrom
Conversation
kevinports
approved these changes
Feb 11, 2026
rafegoldberg
pushed a commit
that referenced
this pull request
Feb 13, 2026
## Version 13.1.2 ### 🛠 Fixes & Updates * **magic blocks:** ensure newline characters processed as hard breaks ([#1329](#1329)) ([bb37d62](bb37d62)) * fix callout magic blocks when rendered directly below a list item ([#1331](#1331)) ([de2b82a](de2b82a)) * fix rendering content in table magic blocks ([#1318](#1318)) ([0ea1cfc](0ea1cfc)) * preserve recipe top level attributes in mdast ([#1324](#1324)) ([98f466b](98f466b)) * **stripComments:** properly pass in the micromark extensions ([#1335](#1335)) ([7ec9d46](7ec9d46)) * **mdxish:** properly terminate html blocks ([#1336](#1336)) ([d221861](d221861)) <!--SKIP CI-->
Contributor
This PR was released!🚀 Changes included in v13.1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🧰 Changes
We saw that the
stripCommentspipeline was incorrectly parsing magic blocks with themdxishflag. Turns out, it was just because we were callingunified().datatwice, which caused the second call to overwrite the first one, which in this case replaced the magic block extension with the mdx expression extension🧬 QA & Testing