/jupyterlab-celltags

A JupyterLab extension for notebook cell tags

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Binder

jupyterlab-celltags

Note: A new version of celltags is currently being developed to be merged into core JupyterLab. This repo is at end of lifecycle, and will only be updated with critical bugfixes.

The JupyterLab cell tags extension enables users to easily add, view, and manipulate descriptive tags for notebook cells. The extension includes the functionality to select all cells with a given tag, supporting the performance of any operation on those cells.

Prerequisites

  • JupyterLab

Install

jupyter labextension install @jupyterlab/celltags-ext

Development

Contributing

If you would like to contribute to the project, please read our contributor documentation.

JupyterLab follows the official Jupyter Code of Conduct.

Dev Install

Requires node 4+ and npm 4+

# Clone the repo to your local environment
git clone https://github.com/jupyterlab/jupyterlab-celltags.git

# move into repo dir
cd jupyterlab-celltags

# build celltags and install it into jupyterlab
jlpm build:dev

To watch for/rebuild on changes to this extension's source code, run:

jlpm run build:watch

For the watch build, you will also need to separately rebuild Jupyterlab itself when you make changes. You can either do this manually:

jupyter lab build

or run Jupyterlab itself in watch mode, which will pick up the changes automatically (you'll still need to reload your browser yourself):

jupyter lab --watch