# How to re-enable code syntax highlighting for IJulia in Jupyter

**URL:** <https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893>\
**Category:** New to Julia\
**Created:** [March 14, 2019, 11:45pm UTC](https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893 "2019-03-14T23:45:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samq/32/47935_2.png) [@samq](https://discourse.julialang.org/u/samq)\
**Post date:** [March 14, 2019, 11:45pm UTC](https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893/1 "2019-03-14T23:45:30Z")

</div>

I was using IJulia with Jupyter just fine. The only thing I didn’t like was whenever I’d highlight a section of code with the mouse, I couldn’t see it very well since I’m using Dark Reader in Chrome browser.

I tried to fix this problem, and now wish I hadn’t since I’ve seemed to mess up the natural and beautiful code syntax highlighting; where keywords are colored differently from other code. Embarassingly, I failed to record the precise steps taken to disrupt things.

I lost all syntax coloring and don’t know how to get it back.  
I start using Jupyter with IJulia via Anaconda; where I invoke Jupyter and Jupyter Lab via Anaconda Navigator.

Jupyter Lab has the syntax highlighting working fine, so the problem is isolated to Jupyter.

Please advise on how I may easily fix the problem I have caused.

---

<div class="post-metadata">

**Author:** ![prairie-guy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/prairie-guy/32/1626_2.png) [@prairie-guy](https://discourse.julialang.org/u/prairie-guy)\
**Post date:** [May 16, 2020, 2:25am UTC](https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893/2 "2020-05-16T02:25:04Z")

</div>

I’ve been having similar problems with loss of code highlighting with Julia on Jupyter Notebooks. I’m using Julia 1.41 and most recent version of Anaconda. I generally use Safari on an iPad.

The first time this happened, I thought I had made a change to a configuration file.

I tried restarting kernel, restarting server, changing my device to an a Mac and Linux device. No luck. I totally deleted and reinstalled Julia. I deleted and reinstalled Anaconda. Sometime after deleting ~/.local/Jupyter and ~/.jupyter directories, I got colorization back.

And then a day later, I’ve lost it again. This time doing what I did before hasn’t resorted colorization to my code cells.

Any advice on how to continue to debug would be appreciated.

---

<div class="post-metadata">

**Author:** ![filchristou](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/filchristou/32/26760_2.png) [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Post date:** [July 13, 2022, 8:41am UTC](https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893/3 "2022-07-13T08:41:32Z")

</div>

I am also getting some jupyter notebooks without syntax highlighting every now and then. It could be a simple fix but I cannot find it.

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [January 5, 2023, 7:08am UTC](https://discourse.julialang.org/t/how-to-re-enable-code-syntax-highlighting-for-ijulia-in-jupyter/21893/4 "2023-01-05T07:08:15Z")

</div>

This just happened to me, and this comment solved it for me

> <https://stackoverflow.com/questions/67889377/jupyter-lab-syntax-highlighting-isnt-working/69545072#69545072>

TLDR: just refresh the browser tab 🙂
