[ZCode Desktop] Markdown 长公式渲染溢出不换行,超宽部分被裁切
Open
Nobody has claimed this yet.
priority: P2
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
环境
- 客户端:ZCode Desktop(Windows)
- 位置:会话中助手输出的 $$ 公式块(display math)
复现步骤
- 助手回复中包含单行长度超过窗口宽度的 $$...$$ 公式
- 观察消息气泡中的渲染结果
实际表现
- 公式溢出消息气泡/页面右边界,超宽部分被裁掉不可见
- 不自动折行,也没有横向滚动条
- 选中复制该段文字时,拿到的是乱排的 LaTeX 源码碎片
期望表现
- 长公式块支持横向滚动,或对可拆分的公式自动折行(VS Code 内置 Markdown 预览对超宽公式块提供水平滚动,行为可参照)
附注
行内 $...$ 短公式渲染正常,问题集中在过长的 display math。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no implementation file, test, or entry point. First reproduce the long display-math case in ZCode Desktop on Windows and compare its behavior with VS Code Markdown preview; done means the formula is usable without being clipped, through horizontal scrolling or wrapping, while inline math remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, markdown
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100