[IPython-dev] how to implement syntax highlighting for a new language
Robert Dodier
robert.dodier at gmail.com
Fri Aug 21 18:35:09 EDT 2015
On Wed, Aug 19, 2015 at 4:30 PM, Robert Dodier <robert.dodier at gmail.com> wrote:
> I can't seem to get this to work for me. I'm getting a 404 for
> maxima.js no matter where I put it, e.g.:
I did get it to work, finally. By running jupyter with --debug I found
where JS was being loaded from, and put my CodeMirror mode
there. Voila! It works! Incidentally on my system, the location is:
/usr/local/lib/python3.4/dist-packages/notebook/static/components/codemirror/mode
Of course it might be different on other systems.
I was trying to install the CodeMirror mode somewhere in ~/.ipython
instead of a system directory, but I couldn't get that to work.
Maybe someone else has more luck with that.
Anyway, now that it's working I'm happy!
best
Robert Dodier
More information about the IPython-dev
mailing list