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

🐛 Code highlighting is missing #315

Closed
1 task done
Conaclos opened this issue Sep 17, 2023 · 4 comments · Fixed by #328
Closed
1 task done

🐛 Code highlighting is missing #315

Conaclos opened this issue Sep 17, 2023 · 4 comments · Fixed by #328
Labels
A-Website Area: website S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@Conaclos
Copy link
Member

Environment information

Online playground

What happened?

Code highlighting is absent.
This could be caused by the recent update of the playground.

Expected result

Code highlighting should be present in the playground.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Conaclos
Copy link
Member Author

@DerTimonius any idea?

@Conaclos Conaclos added A-Website Area: website S-Bug-confirmed Status: report has been confirmed as a valid bug labels Sep 17, 2023
@DerTimonius
Copy link
Contributor

Hm...maybe a side effect when running pnpm install? Could be that another dependency did upgrade when I upgraded prettier. Will look into it later today

@ematipico ematipico changed the title 🐛 <TITLE> 🐛 Code highlighting is missing Sep 17, 2023
@nissy-dev
Copy link
Contributor

This is likely because the codemirror-related packages were updated due to pnpm install. I have encountered a similar issue before. It seems that we should roll back these updates and pin these packages (not use ^x.x.x or ~x.x.x).

@DerTimonius
Copy link
Contributor

I was able to fix it in #328. I followed the idea of @nissy-dev to pin the package versions of the codemirror dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Website Area: website S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants