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

Jupyter Notebooks renderer #230

Closed
silverwind opened this issue May 7, 2015 · 13 comments
Closed

Jupyter Notebooks renderer #230

silverwind opened this issue May 7, 2015 · 13 comments
Labels

Comments

@silverwind
Copy link
Member

https://github.com/blog/1995-github-jupyter-notebooks-3

Example: https://github.com/sujitpal/statlearning-notebooks/blob/master/src/chapter2.ipynb

@Mottie
Copy link
Member

Mottie commented May 7, 2015

I fixed the output, but the syntax highlighting appears to still be using Pygments. sigh

silverwind added a commit that referenced this issue May 8, 2015
@silverwind
Copy link
Member Author

Featuring: Sexy dark graphs:

screenshot_52

@silverwind silverwind changed the title New renderers Jupyter Notebooks renderer May 8, 2015
@silverwind
Copy link
Member Author

Notebooks should be done, except syntax.

@Mottie would you mind digging through our git history to restore pygments themes? 😜

@Mottie
Copy link
Member

Mottie commented May 8, 2015

I guess... the api docs are still using pygments as well.

Although, it'll have to wait until tomorrow, when I have a bit more free time.

@silverwind
Copy link
Member Author

Yeah, no problem. If I remember correctly, we removed pygments for size concerns, which shouldn't be an issue any more. So let's keep them around :)

@Mottie
Copy link
Member

Mottie commented May 8, 2015

And those graphs are too sexy!

@silverwind
Copy link
Member Author

Yahoo doesn't feel like providing that content at my location.

I was surprised a straight number like 90% fitted so perfectly :D

@Mottie
Copy link
Member

Mottie commented May 8, 2015

It was a skit from SNL, Chris Kattan as Antonio Banderas... No no too sexy! LOL

@silverwind
Copy link
Member Author

Banderas, lol

@Mottie
Copy link
Member

Mottie commented May 15, 2015

Ok, all done... I had to add #notebook as a prefix to every selector so it would only target Jupyter notebook pages. That was the only way I could think of to ensure that the pygments .highlight selectors don't interfere with the other syntax highlighter scheme.

@Mottie Mottie closed this as completed May 15, 2015
@silverwind
Copy link
Member Author

👏

@ddavison
Copy link
Member

👏 👏

@Mottie
Copy link
Member

Mottie commented May 15, 2015

I got antibiotics from the doctor to treat that, really!

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

No branches or pull requests

3 participants