EntropyOrg / p5-Devel-IPerl

:microscope::books: Perl5 language kernel for Jupyter <http://jupyter.org/>
http://p3rl.org/Devel::IPerl
93 stars 15 forks source link

Colors in the notebook? #24

Closed demianriccardi closed 9 years ago

demianriccardi commented 9 years ago

Is there a way to get some variable and function colors into the notebook?

zmughal commented 9 years ago

Is something like the following not working?

selection_284

That's on a local notebook, but I'm not sure how to get Perl syntax highlighting on nbviewer working properly (see example):

selection_285

zmughal commented 9 years ago

I found out why the nbviewer isn't highlighting Perl properly. The nbconvert tool for IPython uses pygments in the background and their lexer doesn't handle Perl completely. Time to fix it. :-P

demianriccardi commented 9 years ago

I don't get those nice colors in my local notebook. I may be missing a lib or something. I'll see if switching browsers helps.

demianriccardi commented 9 years ago

I'm not sure what I did exactly, but the colors are working now.