Reputation: 11
I installed jupyter notebook and don't get any text highlighting on my .ipynb files. It seems that it treats the code as plain text, even though the code is executed perfectly.
On the options, one can see that neither "Python" nor "none" is selected. As a matter of fact, I'm not able to select any option at all!
However, this problem doesn't occur when I open with Jupyter Lab.
Notes: Not using Anaconda. Installed everything using pip in a virtual environment. Python version 3.12.4 Jupyter Notebook version 7.2.1 JupyterLab version 4.2.3
Refreshing with ctrl + shift + R doesn't work and nothing in the settings seems out of order.
I appreciate any help. Thanks.
Upvotes: 1
Views: 1191
Reputation: 41
I had a similar situation to yours and can verify that clearing the browser cache enabled syntax highlighting in .ipynb files. Interestingly, the "text editor syntax highlighting" options are still greyed out.
My situation (for anybody with a similar issue):
Upvotes: 4