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

The flashing of code blocks (again), and random missing syntax highlighting in preview #2546

Open
StefanSalewski opened this issue Feb 5, 2025 · 0 comments

Comments

@StefanSalewski
Copy link

$ mdbook --version
mdbook v0.4.44

Hello.

I recently updated my book to the latest mdbook version.

Unfortunately the flashing of code blocks in dark themes that I reported some months ago is still there. Do you think it can't be avoided? Perhaps, but my feeling is that other pages don't show this behaviour, even old mdbook pages. And my feeling is, that when I started with my book in October 2024 with mdbook versions < 0.4.43 I have not seen that flashing.

The other issue that was observed first in v0.4.43 and is still present in v0.4.44 is that with "mdbook serve --open" sometimes code blocks have no syntax highlighting. I have observed that again yesterday. It occurs rarely, but we get always a tiny shock thinking that there is an issue in the Markdown we wrote, but then discovering that it is only a random issue fixed by a page reload.

I should admit that I tested only with Firefox -- currently with version 135.0. Do you think it might be a Firefox issue? I don't think so, but it would be difficult for me to test with another browser, sorry. And it is on Gentoo Linux with Gnome and Wayland.

Best regards,

Dr. Stefan Salewski

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

1 participant