mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-13 01:46:07 +00:00

* [WIP] Update jupyterlab-ihaskell for 4.x * Address feedback * jupyterlab-ihaskell: more updates * jupyterlab-ihaskell: don't minify * jupyterlab-ihaskell: update * jupyterlab-ihaskell: change mimetype * jupyterlab-ihaskell: update * jupyterlab-ihaskell: works with JupyterLab 4 * jupyterlab-ihaskell: update id * jupyterlab-ihaskell: simplify * jupyterlab-ihaskell: update
jupyterlab-ihaskell
Haskell Syntax Highlighting in Jupyterlab
Prerequisites
- JupyterLab
Installation
jupyter labextension install jupyterlab-ihaskell
Development
For a development install (requires npm version 4 or later), do the following in the repository directory:
npm install
npm run build
jupyter labextension link .
To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build
Prebuilt extension
This is currently built with
$ nix-shell -p 'python3.withPackages(p: [ p.jupyterlab ])' nodejs
[nix-shell] $ npm install
[nix-shell] $ npm run build
[nix-shell] $ jupyter labextension build