How to enable syntax highlighting in the Jupyter notebooks used in this course?

H​ow do we enable Python syntax highlighting in the Jupyter notebooks used in this class?

TIA

Hey @ThomD,
Welcome to the community. It’s enabled by default when you install Jupyter Notebook.

Regards,
Elemento

What do you mean “install”? We don’t install anything in this course - the notebooks are hosted by deeplearning.ai. In my case, there is no syntax highlighting (which is why I asked the question).

Hey @ThomD,
Apologies. I thought you were asking regarding how to enable syntax highlighting in Jupyter Notebook in your local machine.

As for the query, since the notebooks have the same settings for all of us, and since Python syntax highlighting is enabled by default in all of the notebooks hosted by DeepLearning.AI, I guess the issue lies with your browser. How about you try to open the same assignment in an incognito window, or perhaps in a different browser. I hope this helps.

Regards,
Elemento

1 Like

Is it missing in general?
If it is missing in just one cell maybe the cell was accidentally switched to markdown instead of code?