Skip to main content

JupyterLab Code Bookmarks

A JupyterLab extension that adds code bookmark functionality, similar to the bookmarks VSCode extension.

Author: Ties de Kok (Personal Page)

Table of contents

Introduction

code_bookmarks_demo_v1

Installation

Note: jupyterlab-code-bookmarks requires JupyterLab 3+

pip install jupyterlab-code-bookmarks

How to use

Basic operations

Setting / Removing a bookmark

You can set or remove a bookmark by right clicking a cell and pressing "Toggle bookmark".
Or by using the keyboard shortcut CTRL + ALT + K.

Note: Bookmarks persist when saving/loading the notebook.

Jumping to bookmark

You can jump to the previous or next bookmark by clicking the jump buttons in the toolbar.
Or by using the keyboard shortcuts:

  • CTRL + ALT + J to jump forward
  • CTRL + ALT + L to jump backward

Configuration options

Changing keyboard shortcuts

You can change the keyboard shortcuts through the JupyterLab keyboard shortcuts settings.

Questions?

If you have questions or experience problems please use the issues tab of this repository.

Known bugs and features in progress

  • Copy and pasting a cell works, however, bookmark styling is not applied until webpage refresh.
  • Jumping to a markdown cells does not always move the cell into view.
  • Enable customization of the cell bookmark color.
  • Make toolbar jump icons take up less space using icons.
  • Add basic tests.

License

MIT - Ties de Kok - 2022

Metadata

Release files for jupyterlab-code-bookmarks 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-code-bookmarks 0.1.5
File Size Uploaded
jupyterlab_code_bookmarks-0.1.5.tar.gz 22.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-code-bookmarks 0.1.5
File Interpreter ABI Platform
jupyterlab_code_bookmarks-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 39.0 kB

Release files / jupyterlab_code_bookmarks-0.1.5.tar.gz

Download URL jupyterlab_code_bookmarks-0.1.5.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5eaf5b8c6391201b17e68e074a974d0b9735aaf8a73a6b215788cd21f81b92f7
BLAKE2b-256 checksum
How to use checksums
04e20581d4804d74f1853273187e6f6d381604e522e4322cbc4a0a03278debee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / jupyterlab_code_bookmarks-0.1.5-py3-none-any.whl

Download URL jupyterlab_code_bookmarks-0.1.5-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05a665e9963d2ca1983e40454c1cea2263f2aa51310c09a12008eab0e0434d99
BLAKE2b-256 checksum
How to use checksums
d4fa4d842eeaf1c85384a75a7a070ee2acd59986e1df93ada199ccb46583a883
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page