jupyterlite / xeus

JupyterLite loader for Xeus kernels
https://jupyterlite-xeus.readthedocs.io
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Syntax highlights were gone in code cells for newly created notebooks #86

Closed MRYingLEE closed 2 months ago

MRYingLEE commented 4 months ago

For both Xeus-Javascript and Xeus-Python kernel, in all newly created notebooks, syntax highlights were gone in code cells. While P5.js kernel has no such issue.

A description in detail can be found at: https://github.com/jupyter-xeus/xeus-javascript/issues/34.

Most likely there is a bug in Xeus.

Please check. Thanks,

martinRenou commented 2 months ago

Are you still able to reproduce this issue? I cannot seem to reproduce on https://jupyterlite-xeus.readthedocs.io/en/latest/lite/lab/index.html, syntax highlighting works

Screenshot from 2024-06-06 16-23-50

martinRenou commented 2 months ago

Also tried with xeus-javascript which seems to work nicely on this deployment: https://jupyterlite-xeus--94.org.readthedocs.build/en/94/lite/lab/index.html

Would you be able to provide more information about your issue and how to reproduce it?

MRYingLEE commented 2 months ago

On the deployment of https://jupyterlite-xeus--94.org.readthedocs.build/en/94/lite/lab/index.html, both Python and Javascript kernel have not this issue anymore. BTW, on the latest version of https://jupyter-xeus.github.io/xeus-javascript/lab/index.html, the Javascript kernel has not this issue anymore too.

But I couldn't load https://jupyterlite-xeus.readthedocs.io/en/latest/lite/lab/index.html in both Edge and Chrome. A new issue happened as the following: image

https://jupyterlite-xeus.readthedocs.io/en/latest/lite/config-utils.js?_=31485bd index.html:1 The resource https://jupyterlite-xeus.readthedocs.io/en/latest/lite/build/lab/bundle.js?_=31485bd was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

martinRenou commented 2 months ago

This seems unrelated to the xeus kernel, would you be able to open an issue to the jupyterlite repository?

martinRenou commented 2 months ago

Closing as the original issue is not relevant anymore