fix(renderer-image): support bold markdown beside CJK text#980
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Walkthrough新增宽松的 Markdown 加粗解析器,处理 ChangesMarkdown 加粗渲染
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request introduces a new relaxedStrong Marked extension in packages/renderer-image/src/utils.ts to support LLM-style bold text formatting beside CJK characters, and integrates it into both image.ts and mixed-image.ts renderers. A review comment points out a potential issue with the regular expression in relaxedStrong which can cause runaway matching across multiple bold blocks if one is malformed, and provides a code suggestion to prevent crossing intermediate ** delimiters.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This pr fixes bold markdown rendering for image replies, including bold text beside CJK characters.
Closes #979
New Features
Bug Fixes
**bold**works next to CJK text in image and mixed-image renderersOther Changes
Validation