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

Syntax Highliting dissappears on page reloading #271

Closed
cdagnino opened this issue Feb 6, 2015 · 10 comments
Closed

Syntax Highliting dissappears on page reloading #271

cdagnino opened this issue Feb 6, 2015 · 10 comments

Comments

@cdagnino
Copy link

cdagnino commented Feb 6, 2015

Whenever I reload the page on Chrome or Firefox, the syntax highlighting on my code cell disappears.
I can copy the non-highlighted code and paste unto a new cell and it will display the correct highlighting.

I'm using:

  • Mac OS 10.9.5
  • IPython 2.3.1
  • Julia 0.3.5
  • IJulia 0.1.16
@malmaud
Copy link
Contributor

malmaud commented Feb 6, 2015

Probably related to #168.

@jiahao
Copy link
Member

jiahao commented Feb 9, 2015

+1

I find this rather annoying.

@psychemedia
Copy link

Possibly related from a vanilla IPython notebook in which I'm running some custom styling to highlight student exercises and the style does not generally render in Chrome on OS/X, though it seems to work in Safari and also renders with a cmd-shift-R in Chrome.

@stevengj
Copy link
Member

Hopefully, this kind of problem will go away in IPython 3. cc @Carreau

@Carreau
Copy link
Contributor

Carreau commented Feb 18, 2015

The custom styling that rely on extension I can't say. The Julia highlighting should be taken care of by #210 and IPython 3.x

@jiahao
Copy link
Member

jiahao commented Feb 23, 2015

Confirmed that this problem is gone in 3.0.0rc1.

@cdagnino
Copy link
Author

This seems to be working consistently for IPython 3.0, so I'll go ahead and close this issue.

@glwhart
Copy link

glwhart commented May 30, 2015

I constantly have the problem that syntax highlighting will go away for a cell or the whole notebook.

  • Mac OS 10.10.3
  • IPython 3.4.3
  • Julia 0.3.8
  • IJulia ? Don't know how to check that

@cdagnino
Copy link
Author

@glwhart : Do Pkg.status() to see which IJulia version you have. I have 0.2.5 and it's working. According to the docs, after Pkg.update() you might also have to Pkg.build("IJulia") if you've changed your Julia binary.

@Carreau
Copy link
Contributor

Carreau commented May 30, 2015

IPython 3.4.3 does not exist. Do you mean 3.1 (Python version != IPython version)? If so it's a bug on IPython which will be fixed on 3.2.

Sent from my iPhone

On 30 mai 2015, at 06:00, Gus Hart notifications@github.com wrote:

I constantly have the problem that syntax highlighting will go away for a cell or the whole notebook.

Mac OS 10.10.3
IPython 3.4.3
Julia 0.3.8
IJulia ? Don't know how to check that

Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants