Skip to content

Syntax highlighting doesn't work under specific conditions #30

Description

@xieve

Our JupyterLab deployment mounts /home, which means that everything that this container puts there, most notably the syntax highlighting extension, is not visible to users. I resolved it like this:

FROM ghcr.io/ihaskell/ihaskell-notebook:master

RUN mkdir --parents /usr/local/share/jupyter/labextensions \
 && ln -s /opt/IHaskell/jupyterlab-ihaskell/labextension \
    /usr/local/share/jupyter/labextensions/jupyterlab-ihaskell

IMO, this should be where ihaskell-notebook puts the extension.

Another solution I have considered: the "ihaskell install" command could be amended such that it installs not just the kernelspec, but also the extension.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions