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

Enabling syntax highlighting #10

Open
redtrumpet opened this issue Feb 27, 2019 · 1 comment
Open

Enabling syntax highlighting #10

redtrumpet opened this issue Feb 27, 2019 · 1 comment

Comments

@redtrumpet
Copy link

First, syntax highlighting was not enabled by default in my jupyter 5.7 notebook, so the README is misleading here.

To enable it, I had to use the command

jupyter nbextension enable --sys-prefix singular-mode/main

i.e. I had to remove the jupyter_kernel_singular part.

@yuriever
Copy link

yuriever commented Nov 12, 2022

I also met this problem.
From ~/site-packages/jupyter_kernel_singular-0.9.9-py3.10.egg-info/installed-files.txt we can see that the extension is installed as

../../../../share/jupyter/nbextensions/singular-mode/main.js

Hence

jupyter nbextension enable --sys-prefix singular-mode/main

is the correct one.
For JupyterLab I don't find --sys-prefix of jupyter labextension, and copying the path of main.js by hand works.

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

2 participants