Closed TheMrMilchmann closed 2 months ago
Thanks for making reproduction. Checking locally, i do have syntax highlighting in development mode. But I am on MacOS. Do you have a chance to try with WSL2 or Linux/MacOS machine? I am suspicious it might be a platform-specific issue.
Syntax highlighting works fine when running in WSL, but I can consistently reproduce it on "plain" Windows. Looks like this is indeed platform-specific.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
I'm unsure when this was fixed (and I don't feel like bisecting the change), but I cannot reproduce this anymore on >=2.13
. I'll close this for now.
Environment
Reproduction
See https://github.com/TheMrMilchmann/MCVE/tree/nuxt/content/2522-syntax-highlighting for an MCVE.
Describe the bug
When running in development mode (via
nuxi dev
) there is no syntax highlighting. However, when previewing the build outputs (nuxi build
andnuxi preview
), it works as expected.This change was introduced by the update to 3.11.0. With 3.10, I cannot reproduce this issue.
Additional context
I believe it could be related to #2520.
Logs
No response