-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add syntax highlighting to pari_jupyter kernel #5
Conversation
@jdemeyer Are you ok with this PR or have you any doubt ? |
I haven't looked yet. But I do intend to do that. |
Where did you get the names in the |
The installation is broken:
I don't know where it got this path ( |
See jupyter/notebook#1706 for the installation issue. |
We should really avoid |
It seems that you doing both: you use |
The highlighting itself looks good. No complaints there. |
To accept this pull request, the minimal changes required are:
|
The function builtin list has been generated from file
|
Just removing |
Yes.
I think that you just need to take the functions with |
No, I think that is done by the |
My notebook.json contain
maybe the format is version dependent. |
I think you mean minus the operators (
I will test that. |
the builtin list is now only contain function of class basic minus "operators" functions.
The new list is with |
I would say: minus anything that starts with an underscore. I am assuming that you used some kind of script to generate this list from |
Yes but it's more a kind of messy one shot script right now (with french comments inside), i will modify and complete it before adding it to a pari_jupyter/tools directory |
generation script has been added |
I merged this, adding some changes. I decided to also remove |
I like the improvements.
should be
|
And removing enable_extension don't work for me either for a first installation.
|
I know, you have to manually enable the extension. |
Oops. Fixed. |
It turns out that Jupyter notebook version 5.3 can automatically enable extensions. I just fixed the installation of pari_jupyter to do that. |
It's nice ! It helps to keep a clean setup.py. |
Add a basic syntax highlith using codemirror "SimpleMode"
linked to OpenDreamkit issue #175