Skip to content

Improve code block line number rendering performance #15324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

TCOTC
Copy link
Contributor

@TCOTC TCOTC commented Jul 17, 2025

  1. word-break 样式使用实际值,修复行高错误 Fix 支持 word-break: break-all; 情况下的代码块行号计算 #12715
  2. 代码块不开启换行的情况下使用 "<span></span>".repeat(lineList.length); 提高性能

@Vanessa219 Vanessa219 requested review from Copilot and Vanessa219 and removed request for Copilot July 18, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant