StylishThemes / GitHub-Dark

:octocat: Dark GitHub style
https://raw.githubusercontent.com/StylishThemes/GitHub-Dark/master/github-dark.user.css
BSD 2-Clause "Simplified" License
9.66k stars 654 forks source link

Jupyter Notebooks renderer #230

Closed silverwind closed 9 years ago

silverwind commented 9 years ago

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

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

Mottie commented 9 years ago

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

silverwind commented 9 years ago

Featuring: Sexy dark graphs:

screenshot_52

silverwind commented 9 years ago

Notebooks should be done, except syntax.

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

Mottie commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

And those graphs are too sexy!

silverwind commented 9 years ago

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

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

Mottie commented 9 years ago

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

silverwind commented 9 years ago

Banderas, lol

Mottie commented 9 years ago

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.

silverwind commented 9 years ago

:clap:

ddavison commented 9 years ago

:clap: :clap:

Mottie commented 9 years ago

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