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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions