Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andfanilo/webpack-jupyter-theming

Experiment creating a custom.js theme for Jupyter notebook with webpack
https://github.com/andfanilo/webpack-jupyter-theming

animatecss jupyter-notebook webpack

Last synced: 5 days ago
JSON representation

Experiment creating a custom.js theme for Jupyter notebook with webpack

Awesome Lists containing this project

README

        

# Theming Jupyter notebook with Webpack

This is a small experiment of using webpack to bundle external CSS and JS files and libraries into a unique `custom.js` to customize a Jupyter notebook frontend. For now it bundles [animate.css](https://daneden.github.io/animate.css/) and some custom js on the Jupyter JS API to add bounceIn animation to cell creation.

![Demo gif](https://github.com/andfanilo/webpack-jupyter-theming/raw/master/demo.gif "Demo gif")

## Prerequisites :

- conda 3+
- nodejs 8+
- npm 4+

## Install

```
npm install
conda create -n webpack-jupyter-theming python=3
conda activate webpack-jupyter-theming
conda install jupyter
```

## Run

```
npm run build
cp dist/custom.js /.jupyter/custom/
conda activate webpack-jupyter-theming
jupyter notebook
```