Skip to content
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

代码块样式抖动 #72

Open
Plumbiu opened this issue Aug 8, 2024 · 2 comments
Open

代码块样式抖动 #72

Plumbiu opened this issue Aug 8, 2024 · 2 comments

Comments

@Plumbiu
Copy link

Plumbiu commented Aug 8, 2024

主题版本:1.4
Typora 版本:1.9.5

当页面滚动到代码块的时候,样式会抖动:

before

过了一会就好了

after

@jinghu-moon
Copy link
Owner

jinghu-moon commented Aug 14, 2024

这是 typora 的问题。

可能是为了提高文件打开速度和性能考虑,typora 将代码块设置为懒加载,即页面有代码块,才会渲染代码样式。

@jinghu-moon
Copy link
Owner

目前代码块顶部栏就是摆设,几个月前用 js 实现了代码复制、折叠等功能。如果你感兴趣的话,详见 Soanguy/Typora-Theme-Neumorphism#4

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

No branches or pull requests

2 participants