You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
However, I cannot figure out how to add syntax highlighting to the code cells containing Cypher code. I added code completion of keywords by implementing the do_complete method but I cannot find anything related for syntax highlighting.
Are there examples for how to add syntax highlighting somewhere? Is there anything in the documentation that I could not find? Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Syntax highlighting is up to the frontend. For the notebook, there's a Javascript library called Codemirror, and happily it looks like it has a Cypher mode. I think if you set the language name to cypher on this line it should use that:
… Additionally, pulled bash and python shells to global static variables so that state can be shared accross commands. And I think I completed a magic for Python to convert query results to dataframes directly.
Hej all,
How do I add syntax highlighting to my own Jupyter kernel?
During the last week I worked on a Jupyter kernel for the Cypher Query Language, see https://github.com/HelgeCPH/cypher_kernel. I am in early stages but the kernel seems to work okay so far.
However, I cannot figure out how to add syntax highlighting to the code cells containing Cypher code. I added code completion of keywords by implementing the
do_complete
method but I cannot find anything related for syntax highlighting.Are there examples for how to add syntax highlighting somewhere? Is there anything in the documentation that I could not find? Any help is appreciated.
The text was updated successfully, but these errors were encountered: