fix(comark): consume nested brackets in inline component content - #306
Merged
farnabaz merged 1 commit intoJul 30, 2026
Merged
Conversation
Resolves comarkdown#303 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@sandros94 is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
comark
@comark/angular
@comark/ansi
@comark/html
@comark/nuxt
@comark/react
@comark/svelte
@comark/vue
commit: |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
farnabaz
approved these changes
Jul 30, 2026
Collaborator
|
Thanks |
This was referenced Aug 3, 2026
Closed
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.
🔗 Linked issue
Resolves #303
❓ Type of change
📚 Description
Extracted the span rule's bracket scan into a shared
findClosingBracketand pointedparseBracketContentat it, so:name[…]content and::name[…]fence params consume nested[…]pairs (images, links, nested components) instead of stopping at the first]. The span rule keeps its unclosed-consumes-to-end streaming behavior.P.S.: used Fable to help with branching the changes in their own PR and a final validation of my claims
📝 Checklist
pnpm verifyand it passes.